Download the PHP package panoscape/access without Composer
On this page you can find all versions of the php package panoscape/access. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download panoscape/access
More information about panoscape/access
Files in panoscape/access
Download panoscape/access
More information about panoscape/access
Files in panoscape/access
Vendor panoscape
Package access
Short Description Role and Permission control for Laravel
License MIT
Homepage https://github.com/seancheung/access
Package access
Short Description Role and Permission control for Laravel
License MIT
Homepage https://github.com/seancheung/access
Please rate this library. Is it a good library?
Informations about the package access
Access
Role and Permission control for Laravel
Installation
Composer
Service provider
config/app.php
Facades
config/app.php
Permission and Role
config/app.php
Middleware
app/Http/Kernel.php
Migration
Before migrating, you'll need to modify the users
table in the published migration file to the correct user table used in your application
Usage
Add HasRoles
trait to user model.
Get roles and permissions
You may also use dynamic properties
Check roles and permissions
Attach/Detach/Sycn
Facades
Middleware
Blade
Testing
or
Change Log
1.0.1 - 2016-11-24
Added
- attach/detach/sync roles and permissions in Facades
- Facades now accept specific user rather than always using
auth()->user()
- detaching roles when deleting users
- detaching permissions when deleting roles
- unit test
Changed
- renamed
access
middleware's first argument to plural format:role
toroles
,permission
topermissions
- multiple arguments in blade directives no longer need to be wrapped in an array
Fixed
roles
andpermissions
blade directives failure issue
1.0.0 - 2016-11-22
First release
All versions of access with dependencies
PHP Build Version
Package Version
Requires
illuminate/support Version
^5.3
The package panoscape/access contains the following files
Loading the files please wait ....