spid-laravel | SPID authentication package for Laravel
kandi X-RAY | spid-laravel Summary
kandi X-RAY | spid-laravel Summary
spid-laravel is a PHP library. spid-laravel has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
SPID authentication package for Laravel
SPID authentication package for Laravel
Support
Quality
Security
License
Reuse
Support
spid-laravel has a low active ecosystem.
It has 0 star(s) with 0 fork(s). There are 1 watchers for this library.
It had no major release in the last 6 months.
spid-laravel has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of spid-laravel is current.
Quality
spid-laravel has no bugs reported.
Security
spid-laravel has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
spid-laravel is licensed under the BSD-3-Clause License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
spid-laravel releases are not available. You will need to build from source code and install.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of spid-laravel
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of spid-laravel
spid-laravel Key Features
No Key Features are available at this moment for spid-laravel.
spid-laravel Examples and Code Snippets
No Code Snippets are available at this moment for spid-laravel.
Community Discussions
No Community Discussions are available at this moment for spid-laravel.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install spid-laravel
Before installing this package patching must be enabled in composer.json. This is necessary because this patch has to be applied to onelogin/php-saml for SPID compatibility.
Before installing this package patching must be enabled in composer.json. This is necessary because this patch has to be applied to onelogin/php-saml for SPID compatibility. Edit your composer.json like this: ... "extra": { "enable-patching": "true" }, ... or simply run: composer config extra.enable-patching true. Since this package is still in beta, minimum-stability option must be set to beta and the prefer-stable option must be set to true in composer.json. These options can be set by running: composer config minimum-stability beta composer config prefer-stable true For Windows only Composer needs the patch command to be installed (it is not part of Windows). To enable it install Git then add the C:\Program Files\Git\usr\bin folder to the system path. This installation step will be removed before the first stable release of this package.
Require this package with composer. composer require italia/spid-laravel
Exclude the URIs used by this package from CSRF protection because the the Identity Providers can't know what CSRF token include in their POST requests sent to your routes. In your app/Http/Middleware/VerifyCsrfToken.php set '/spid/*' as an element of the $except array. <?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /** * The URIs that should be excluded from CSRF verification. * * @var array */ protected $except = [ '/spid/*' ]; }
Before installing this package patching must be enabled in composer.json. This is necessary because this patch has to be applied to onelogin/php-saml for SPID compatibility. Edit your composer.json like this: ... "extra": { "enable-patching": "true" }, ... or simply run: composer config extra.enable-patching true. Since this package is still in beta, minimum-stability option must be set to beta and the prefer-stable option must be set to true in composer.json. These options can be set by running: composer config minimum-stability beta composer config prefer-stable true For Windows only Composer needs the patch command to be installed (it is not part of Windows). To enable it install Git then add the C:\Program Files\Git\usr\bin folder to the system path. This installation step will be removed before the first stable release of this package.
Require this package with composer. composer require italia/spid-laravel
Exclude the URIs used by this package from CSRF protection because the the Identity Providers can't know what CSRF token include in their POST requests sent to your routes. In your app/Http/Middleware/VerifyCsrfToken.php set '/spid/*' as an element of the $except array. <?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; class VerifyCsrfToken extends Middleware { /** * The URIs that should be excluded from CSRF verification. * * @var array */ protected $except = [ '/spid/*' ]; }
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page