https://github.com/binarcode/laravel-thirdparty
Laravel Third Party - easy way to add API Socialite SSO (Facebook, Google etc.)
https://github.com/binarcode/laravel-thirdparty
api laravel sso
Last synced: 2 months ago
JSON representation
Laravel Third Party - easy way to add API Socialite SSO (Facebook, Google etc.)
- Host: GitHub
- URL: https://github.com/binarcode/laravel-thirdparty
- Owner: BinarCode
- License: mit
- Created: 2020-06-08T10:51:41.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-09T12:42:44.000Z (almost 6 years ago)
- Last Synced: 2025-01-20T10:48:38.903Z (about 1 year ago)
- Topics: api, laravel, sso
- Language: PHP
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Laravel third party. Facebook and Google third party built-in.
[](https://packagist.org/packages/binarcode/y)
[](https://github.com/binarcode/y/actions?query=workflow%3Arun-tests+branch%3Amaster)
[](https://packagist.org/packages/binarcode/y)
An easy way to add any third party to your application. As for example Facebook or Google SSO.
## Installation
You can install the package via composer:
```bash
composer require binarcode/larave-thirdparty
```
You can publish and run the migrations with:
```bash
php artisan vendor:publish --provider="BinarCode\LaravelThirdParty\ThirdPartyServiceProvider" --tag="migrations"
php artisan migrate
```
You can publish the config file with:
```bash
php artisan vendor:publish --provider="BinarCode\LaravelThirdParty\ThirdPartyServiceProvider" --tag="config"
```
This is the contents of the published config file:
```php
return [
];
```
## Usage
Add routes from the package using `thirdparty` route macro:
``` php
Route::thirdparty('my-thirdparty-routes');
```
This will give you package routes, as `list` all third parties.
## Testing
``` bash
composer test
```
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security
If you discover any security related issues, please email eduard.lupacescu@binarcode.com instead of using the issue tracker.
## Credits
- [Eduard Lupacescu](https://github.com/binaryk)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.