Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Oauth2 Server Laravel Laravel Package

lucadegasperi/oauth2-server-laravel

View on GitHub
Deep Wiki
Context7

Laravel 4

Composer is the recommended way to install this package. Add the following line to your composer.json file:

"lucadegasperi/oauth2-server-laravel": "^3.0"

Then run composer update to get the package.

Note: If installation fails set "minimum-stability": "dev" in your composer.json file.

Once composer has installed the package add this line of code to the providers array located in your app/config/app.php file:

'LucaDegasperi\OAuth2Server\Storage\FluentStorageServiceProvider',
'LucaDegasperi\OAuth2Server\OAuth2ServerServiceProvider',

And this lines to the aliases array:

'Authorizer' => 'LucaDegasperi\OAuth2Server\Facades\AuthorizerFacade',

Configuration Publishing

In order to customize the behavior of this package, a configuration file to publish is provided to you.

php artisan config:publish lucadegasperi/oauth2-server-laravel

Afterwards you can edit the file app/config/packages/lucadegasperi/oauth2-server-laravel/oauth2.php to suit your needs. A description of the configuration fields is described here.

Migrations

This package comes with all the database tables you need to run a full featured OAuth 2.0 server. Run the migrations command to get them into your application installation

php artisan oauth2-server:migrations

Sample Controller

To make your life easier, this package comes with a sample controller you can use to get started with your OAuth 2.0 Server. The controller command will publish the controller into your app/controllers directory.

php artisan oauth2-server:controller

← Back to start

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui