Download the PHP package eziat/permission-bundle without Composer
On this page you can find all versions of the php package eziat/permission-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download eziat/permission-bundle
More information about eziat/permission-bundle
Files in eziat/permission-bundle
Download eziat/permission-bundle
More information about eziat/permission-bundle
Files in eziat/permission-bundle
Vendor eziat
Package permission-bundle
Short Description Provides a simple layer to store permissions.
License MIT
Package permission-bundle
Short Description Provides a simple layer to store permissions.
License MIT
Keywords permission
Please rate this library. Is it a good library?
Informations about the package permission-bundle
Eziat Permission bundle
Permission bundle provides a flexible way to control access decisions. Basically it make sense to use it if you need to have something more flexible than roles but less complex than acl definitions.
Installation
Step 1 Download the bundle using composer.
Step 2 Enable the bundle
Add the bundle to the config/bundles.php
file.
This is done automatically if you use flex.
Step 3 Create your permission class (optional)
- Required if you want to store permissions in the database as an additional table.
Step 4 Implement UserPermissionInterface
To use the UserManager
your User
class should implement UserPermissionInterface
.
There are two methods to implement:
getId()
getPermissions()
Step 5 Configure the bundle
All versions of permission-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.1.3
symfony/config Version ^3.4|^4.0
symfony/dependency-injection Version ^3.4|^4.0
symfony/security-bundle Version ^3.4|^4.0
symfony/config Version ^3.4|^4.0
symfony/dependency-injection Version ^3.4|^4.0
symfony/security-bundle Version ^3.4|^4.0
The package eziat/permission-bundle contains the following files
Loading the files please wait ....