phico / auth
Lightweight authentication and authorisation for Phico
dev-main
2024-08-16 16:58 UTC
Requires
- php: ^8.0
- phico/phico: dev-main
Requires (Dev)
- pestphp/pest: ^2.34
- phpstan/phpstan: *
This package is auto-updated.
Last update: 2024-11-16 17:35:34 UTC
README
Lightweight authentication support for Phico
Installation
Using composer
composer require phico/auth
Usage
Use the AuthMiddleware in any actions as needed
// /app/Home/Actions/DashBoardAction.php 'use' => [ new \Phico\Auth\AuthMiddleware::class ]
Issues
If you discover any bugs or issues in it's behaviour or performance please create an issue, and if you are able a pull request with a fix.
Please make sure to update tests as appropriate.
For major changes, please open an issue first to discuss what you would like to change.