Skip to content

Roles and permissions registerer based on spatie/laravel-permission

Notifications You must be signed in to change notification settings

hans-thomas/horus

Repository files navigation

Horus

horus banner

codecov GitHub Workflow Status GitHub top language GitHub release (latest by date) StyleCi

Horus is a roles and permissions registerer that make working on authorization easy.

Features:

  • Integrated with spatie/laravel-permission
  • Supported by Sphinx
  • Batch creation of roles and permissions
  • Create permissions for a model based on related policy class
  • Assign permissions to roles in a breeze

Installation

First install the package via composer

composer require hans-thomas/horus:^1.0

Then, publish the configuration file

php artisan vendor:publish --tag horus-config

Done.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request ❤️

Support