PHP Classes

How to Implement a Laravel ACL System Using the Permit Package: Control the access of Laravel application users

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 17 All time: 11,340 This week: 206Up
Version License PHP version Categories
permit 1.0MIT/X Consortium ...5PHP 5, User Management, Libraries
Description 

Author

This package can control the access of Laravel application users.

It can take a configuration script to read the permissions of the users of an application, depending on the current user.

The package provides a middleware class that can read those configured permissions and allows or denies access to the current page accessed by the user.

Picture of Nahid Bin Azhar
  Performance   Level  
Name: Nahid Bin Azhar <contact>
Classes: 24 packages by
Country: United States United States
Age: 33
All time rank: 792109 in United States United States
Week rank: 53 Up8 in United States United States Up
Innovation award
Innovation award
Nominee: 6x

Winner: 2x

  Files folder image Files (26)  
File Role Description
Files folder imageconfig (1 file)
Files folder imagedatabase (1 directory)
Files folder imagehelpers (1 file)
Files folder imagesrc (4 files, 5 directories)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (26)  /  config  
File Role Description
  Plain text file permit.php Class Class source

  Files folder image Files (26)  /  database  
File Role Description
Files folder imagemigrations (3 files)

  Files folder image Files (26)  /  database  /  migrations  
File Role Description
  Plain text file 2017_05_22_101358_create_roles_table.php Class Class source
  Plain text file 2017_05_22_101453_..._in_users_table.php Class Class source
  Plain text file 2019_12_09_130502_...ser_roles_table.php Class Class source

  Files folder image Files (26)  /  helpers  
File Role Description
  Accessible without login Plain text file permit.php Example Example script

  Files folder image Files (26)  /  src  
File Role Description
Files folder imageCommands (5 files)
Files folder imageFacades (1 file)
Files folder imageMiddleware (2 files)
Files folder imageRoles (4 files)
Files folder imageUsers (3 files)
  Plain text file BaseRepository.php Class Class source
  Plain text file Blades.php Class Class source
  Plain text file Permission.php Class Class source
  Plain text file PermitServiceProvider.php Class Class source

  Files folder image Files (26)  /  src  /  Commands  
File Role Description
  Plain text file CreateRoleCommand.php Class Class source
  Plain text file FetchPermissionsCommand.php Class Class source
  Plain text file PermissionSyncCommand.php Class Class source
  Plain text file RemovePermissionCommand.php Class Class source
  Plain text file SetPermissionCommand.php Class Class source

  Files folder image Files (26)  /  src  /  Facades  
File Role Description
  Plain text file Permit.php Class Class source

  Files folder image Files (26)  /  src  /  Middleware  
File Role Description
  Plain text file AbstractMiddleware.php Class Class source
  Plain text file PermitMiddleware.php Class Class source

  Files folder image Files (26)  /  src  /  Roles  
File Role Description
  Plain text file Role.php Class Class source
  Plain text file RoleRepository.php Class Class source
  Plain text file UserRole.php Class Class source
  Plain text file UserRoleRepository.php Class Class source

  Files folder image Files (26)  /  src  /  Users  
File Role Description
  Plain text file PermissionScope.php Class Class source
  Plain text file Permitable.php Class Class source
  Plain text file UserRepository.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:17
This week:0
All time:11,340
This week:206Up