fgsl / traits
Fgsl Traits
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:component
Requires
- php: >=7.4
- laminas/laminas-cache: ^2.9
- laminas/laminas-db: ^2.11
- laminas/laminas-log: ^2.12
- laminas/laminas-permissions-rbac: ^3.0
- laminas/laminas-view: ^2.11
- phpunit/phpunit: ^8.3
README
Several traits for Laminas MVC controllers
Installation
composer require fgsl/traits
AuthAclTrait
A trait for MVC controllers that uses authentication and permissions control.
It presumes the use of IAM and LDAP, beyond database.
CacheTrait
A trait for MVC controllers that needs to store data in cache.
CorsTrait
A trait for MVC controllers that need to response data with CORS