Download the PHP package drago-ex/authorization without Composer
On this page you can find all versions of the php package drago-ex/authorization. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download drago-ex/authorization
More information about drago-ex/authorization
Files in drago-ex/authorization
Package authorization
Short Description Simple dynamic access control list management.
License MIT
Informations about the package authorization
Drago Authorization
Drago Authorization is a simple and dynamic access control list (ACL) management system built on top of the Nette Framework. It provides an easy-to-use solution for managing roles, resources, and permissions, with built-in support for PHP 8.3 or higher.
Technology
- PHP 8.3 or higher
- Bootstrap
- composer
Installation
Extension Registration
To use Drago Authorization in your Nette application, register the extension in your config.neon
file:
Usage
Use Trait in Base Presenter for Access Control
You can use the Authorization
trait in your base presenter to manage access control and redirect users to the login page if needed.
UUse Trait in Presenter for Access Control Settings
In each presenter, use the AuthorizationControl
trait to manage authorization control.
Component Creation and Configuration
Here’s how to create and configure the main components for managing roles, permissions, and resources:
You can also configure custom templates for the components:
Use Components in Latte
Once the components are configured, you can render them in your Latte templates:
All versions of authorization with dependencies
nette/security Version ^3.1
nette/application Version ^3.1
nette/caching Version ^3.2
nette/di Version ^3.1
latte/latte Version ^3.0
drago-ex/database Version ^1.0
drago-ex/application Version ^1.0
drago-ex/utils Version ^1.0
ublaboo/datagrid Version dev-next