Download the PHP package rawaby88/portal without Composer
On this page you can find all versions of the php package rawaby88/portal. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rawaby88/portal
More information about rawaby88/portal
Files in rawaby88/portal
Package portal
Short Description Portal
License MIT
Homepage https://github.com/rawaby88/portal
Informations about the package portal
Portal ⾨
This package adding new guard ['portal'] to use on authenticated routes.
it will check if user has valid Token and permissions to endpoint
Installation
You can install the package via composer:
Usage
Add Portable trait to User model;
Run migrate to update user table:
Migration Customization
If you are not going to use Portal's default migrations, you should call the
method in the register method of your
You may export the default migrations by executing the following command:
Usage by adding middleware 'auth:portal' to endpoints
auth() functions will be available for you to use
if you would like to change data stored in user table You may export the default config by executing the following command:
[/config/portal.php]
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Mahmoud Osman
- Rafał Andryanczyk
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of portal with dependencies
ext-json Version *
doctrine/dbal Version ^3.1
goldspecdigital/laravel-eloquent-uuid Version ^8.0 | ^9.0 | ^10.0
illuminate/contracts Version ^8.0 | ^9.0 | ^10.0
illuminate/database Version ^8.0 | ^9.0 | ^10.0
illuminate/support Version ^8.0 | ^9.0 | ^10.0
ext-openssl Version *