| Package Data | |
|---|---|
| Maintainer Username: | Maynagashev |
| Maintainer Contact: | lifesup@gmail.com (Maynagashev) |
| Package Create Date: | 2017-02-26 |
| Package Last Update: | 2017-11-03 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-12-14 15:04:18 |
| Package Statistics | |
|---|---|
| Total Downloads: | 15 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 5 |
| Total Watchers: | 2 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
Laravel package, adds social connections management, users can connect multiple social networks to a laravel account.
Status: dev alpha.
###Installation
Add new record to the providers list in config/app.php:
Maynagashev\SocialConnections\SocialConnectionsServiceProvider::class,
Publish package assets by running artisan command:
php artisan vendor:publish
Publish separately:
php artisan vendor:publish --tag=config
php artisan vendor:publish --tag=models
php artisan vendor:publish --tag=views
Routes, controllers, migrations, translations loaded from the package directory.
Because provider's credentials is environment specific and shouldn't be exposed in public, all credentials stored in .env file.
Examples: https://gist.github.com/maynagashev/259fce6e5a845b09dcb0a70e828966f5#file-env
In config/services.php we just getting values from .env file with helper function env('CONST_NAME').
Examples: https://gist.github.com/maynagashev/259fce6e5a845b09dcb0a70e828966f5#file-services-php
Current locale selected by application global configuration variable locale, set in config/app.php.
$app->setLocale('en')

###TODO: