PHP code example of acidwave / laravel-sso

1. Go to this page and download the library: Download acidwave/laravel-sso library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

acidwave / laravel-sso example snippets


'api' => [
    \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
    \Illuminate\Routing\Middleware\ThrottleRequests::class.':api',
    \Illuminate\Routing\Middleware\SubstituteBindings::class,
],

protected $middleware = [
        ...
        \AcidWave\LaravelSSO\Middleware\SsoAuthCheck::class,
    ];
shell
$ php artisan vendor:publish --provider="AcidWave\LaravelSSO\SSOServiceProvider"
shell
$ php artisan migrate --path=vendor/acidwave/laravel-sso/database/migrations
shell
$ php artisan sso:broker:create {name}
shell
$ php artisan vendor:publish --provider="AcidWave\LaravelSSO\SSOServiceProvider"