Download the PHP package acacha/laravel-social without Composer

On this page you can find all versions of the php package acacha/laravel-social. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-social

laravel-social

Latest Version on Packagist Total Downloads Monthly Downloads Daily Downloads Latest Stable Version Build Status Quality Score StyleCI

A Laravel 5 package for OAuth Social Login/Register implementation using Laravel socialite and (optionally) AdminLTE Laravel package.

Installation

Using adminlte laravel (recommended option)

Install AdminLTE Laravel package:

Then optionally you can boostrap you project in your favourite browser using:

Using composer

Use Composer, in you Laravel project:

Add service provider to providers array in your config/app.php file:

And run command:

To configure social network providers.

Finally modify your app views to add links to Social Login using link:

Examples:

I recommend you to use AdminLTE Laravel Package for a full working Auth scaffolding with Adminlte bootstrap template. See previous section.

You can also use Laravel default Auth scaffolding running command:

And manually add button/links to social Login/Register.

Usage

You can configure Social Providers with command:

This wizard will adapt your .env and config/services.php files to add your social networks OAuth data.

At this moment command will not check if you have already configured your social network so be carefull when executing this command in already configured projects (no errors will be thrown but you will have repeated data in your config files).

Requirements

Please install AdminLTE Laravel:

This package also requires (all installed using composer):

See also related projects:

Social networks

Laravel social package support by default the following social networks:

Laravel social use Illuminate\Support\Manager so you can create your own driver and register the driver in LaravelSocialServiceProvider.

Please, if you create a new driver feel free to create a Pull Request.

You can enable/disable social providers easily. See following section.

Enable/disable social providers

At class LaravelSocialServiceProvider you can modify $enabled field to change enabled social providers. Also remember to changes your views to add/remove action/links to social auth.

Also you have to change static variable $socialNetworks in file ConfigureSocialServicesManager to add your extra social providers.

Github

The cli wizard will propose you to go to page:

https://github.com/settings/applications/new

to register new OAuth Application.

Facebook

The cli wizard will propose you to go to page:

https://developers.facebook.com/apps/

to register new OAuth Application

Google

The cli wizard will propose you to go to page:

https://console.developers.google.com

to register new OAuth Application. Please remember to active Google+ API!.

More info at https://developers.google.com/identity/sign-in/web/devconsole-project .

Twitter

The cli wizard will propose you to go to page:

https://apps.twitter.com/app/new

to register new OAuth Application. Retrieve your api keys at tab Keys and Access Tokens and remember to check Request email addresses from users checkbox active in Permissions tab.

Linkedin

The cli wizard will propose you to go to page:

https://www.linkedin.com/secure/developer

to register new OAuth Application.

Change log

Please see CHANGELOG for more information on what has changed recently.

Testing

In your Laravel project execute:

Contributing

Please see CONDUCT for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-social with dependencies

PHP Build Version
Package Version
Requires php Version ~5.6|~7.0
acacha/filesystem Version ^0.1.1
doctrine/dbal Version ^2.5
laravel/framework Version ^5.4
laravel/socialite Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package acacha/laravel-social contains the following files

Loading the files please wait ....