norse-blue / laravel-heimdall
Heimdall is a code-driven authorization system for Laravel.
Requires
- php: ^7.4
- ext-json: *
- norse-blue/handy-properties: ^2.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- nunomaduro/collision: ^5.0
- nunomaduro/phpinsights: dev-master
- orchestra/testbench: ^6.3
- pestphp/pest: ^0.3.9
- pestphp/pest-plugin-laravel: ^0.3.0
- phpstan/phpstan: ^0.12.53
This package is auto-updated.
Last update: 2024-11-13 18:19:08 UTC
README
Code-driven authorization system for Artisans
Heimdall is a package that aims to be an easy to use code-driven authorization system for Laravel. It is built upon the roles and permissions concepts.
Installation
Requirements:
Install this package using Composer:
composer require norse-blue/laravel-heimdall
You can publish the config file by running:
php artisan vendor:publish --provider="NorseBlue\Heimdall\HeimdallServiceProvider" --tag=heimdall-config
You can install the service provider by running:
php artisan heimdall:install
Usage
To get more in-depth knowledge about this package, please refer to the Official Documentation.
Changelog
Please refer to the CHANGELOG.md file for more information about what has changed recently.
Contributing
Contributions to this project are accepted and encouraged. Please read the CONTRIBUTING.md file for details on contributions.
Testing
To test this package run:
composer test
To find out the test coverage run:
composer coverage
To find issues by statically analyzing the code run:
composer analyse
To get code insights run:
composer insights
To fix styling issues run:
composer format
Credits
Security Vulnerabilities
Please review our security policy to know how to report security vulnerabilities within this package.
Support the development
Do you like this project? Support it by donating
License
This package is open-sourced software licensed under the MIT license.