liliom / passport
Fork of Laravel Passport provides OAuth2 server support to Laravel, with added support for custom database connection.
v3.0.1
2017-08-04 14:03 UTC
Requires
- php: >=5.6.4
- firebase/php-jwt: ~3.0|~4.0
- guzzlehttp/guzzle: ~6.0
- illuminate/auth: ~5.4
- illuminate/console: ~5.4
- illuminate/container: ~5.4
- illuminate/contracts: ~5.4
- illuminate/database: ~5.4
- illuminate/encryption: ~5.4
- illuminate/http: ~5.4
- illuminate/support: ~5.4
- league/oauth2-server: ^6.0
- phpseclib/phpseclib: ^2.0
- symfony/psr-http-message-bridge: ~1.0
- zendframework/zend-diactoros: ~1.0
Requires (Dev)
- mockery/mockery: ~0.9
- phpunit/phpunit: ~5.0
This package is not auto-updated.
Last update: 2026-06-12 06:14:48 UTC
README
Introduction
Laravel Passport is an OAuth2 server and API authentication package that is simple and enjoyable to use.
Installation
composer require liliom/passport 3.0.x-dev
Custom Database Connection
By default, Passport will use the default connection name, but now you can use custom database connection for Passport by adding your connection name in config/auth.php (guards.api.connection)
.... 'guards' => [ ... 'api' => [ 'driver' => 'passport', 'provider' => 'users', 'connection' => env('PASSPORT_CONNECTION'), ], ], ...
Official Documentation
Documentation for Passport can be found on the Laravel website.
License
Laravel Passport is open-sourced software licensed under the MIT license.