PHPackages                             hans-thomas/horus - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. hans-thomas/horus

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

hans-thomas/horus
=================

a roles and permissions manager

v2.0.0(1y ago)23.1k1MITPHPPHP ^8.1CI passing

Since Jul 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/hans-thomas/horus)[ Packagist](https://packagist.org/packages/hans-thomas/horus)[ RSS](/packages/hans-thomas-horus/feed)WikiDiscussions 2.x Synced yesterday

READMEChangelog (5)Dependencies (4)Versions (7)Used By (1)

Horus
=====

[](#horus)

[![horus banner](assets/horus-banner.png)](assets/horus-banner.png)

[![codecov](https://camo.githubusercontent.com/ab92eb37703c6ba1b84de40ede05090ada8f82bc62f09bfb7da883cab8667f98/68747470733a2f2f636f6465636f762e696f2f67682f68616e732d74686f6d61732f686f7275732f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d5831443649304a4c535a)](https://codecov.io/gh/hans-thomas/horus)[![GitHub Workflow Status](https://camo.githubusercontent.com/81551bc174d059505a321299cea155a53584b05c70493d2d29b269e0372586c9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f68616e732d74686f6d61732f686f7275732f7068702e796d6c)](https://camo.githubusercontent.com/81551bc174d059505a321299cea155a53584b05c70493d2d29b269e0372586c9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f68616e732d74686f6d61732f686f7275732f7068702e796d6c)[![GitHub top language](https://camo.githubusercontent.com/82a996dc877f4fc52812afef71c9fa64b1eea41ee376195adb0cd74a55847b05/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f746f702f68616e732d74686f6d61732f686f727573)](https://camo.githubusercontent.com/82a996dc877f4fc52812afef71c9fa64b1eea41ee376195adb0cd74a55847b05/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c616e6775616765732f746f702f68616e732d74686f6d61732f686f727573)[![GitHub release (latest by date)](https://camo.githubusercontent.com/f93e257a77462d87ede43fd5b5d1fb97a42d07908739fb95b969b610f49e0354/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f68616e732d74686f6d61732f686f727573)](https://camo.githubusercontent.com/f93e257a77462d87ede43fd5b5d1fb97a42d07908739fb95b969b610f49e0354/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f68616e732d74686f6d61732f686f727573)[![StyleCi](https://camo.githubusercontent.com/bcfbc0ef1d4312df43bc94ec59f38b3f04ec78e51bebbaa3356964fb694be3d6/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3436343439373539372f736869656c643f7374796c653d706c6173746963)](https://camo.githubusercontent.com/bcfbc0ef1d4312df43bc94ec59f38b3f04ec78e51bebbaa3356964fb694be3d6/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3436343439373539372f736869656c643f7374796c653d706c6173746963)

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

Features:

- Integrated with [spatie/laravel-permission](https://github.com/spatie/laravel-permission)
- Supported by [Sphinx](https://github.com/hans-thomas/sphinx)
- Batch creation of roles and permissions
- Create permissions for a model based on related policy class
- Assign permissions to roles in a breeze

VersionLaravel1.x10.x2.x11.x, 12.xInstallation
------------

[](#installation)

First install the package via composer

```
composer require hans-thomas/horus
```

Then, publish the configuration file

```
php artisan vendor:publish --tag horus-config
```

Done.

Contributing
------------

[](#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
-------

[](#support)

- [Documentation](https://docs-horus.vercel.app)
- [Report bugs](https://github.com/hans-thomas/horus/issues)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance46

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~111 days

Recently: every ~157 days

Total

7

Last Release

370d ago

Major Versions

1.x-dev → v2.0.02025-02-02

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39920372?v=4)[Mohammad Mortazavi](/maintainers/hans-thomas)[@hans-thomas](https://github.com/hans-thomas)

---

Top Contributors

[![hans-thomas](https://avatars.githubusercontent.com/u/39920372?v=4)](https://github.com/hans-thomas "hans-thomas (90 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (6 commits)")

---

Tags

acllaravel-packagespermissionpermission-managementrolesroles-managementroles-permission-managementlaravel-packagesaclpermissionrolespermission-managementroles-management

### Embed Badge

![Health badge](/badges/hans-thomas-horus/health.svg)

```
[![Health](https://phpackages.com/badges/hans-thomas-horus/health.svg)](https://phpackages.com/packages/hans-thomas-horus)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[zizaco/entrust

This package provides a flexible way to add Role-based Permissions to Laravel. Supports laravel 5|6|7|8

6.0k5.3M61](/packages/zizaco-entrust)[gghughunishvili/entrust

This package provides a flexible way to add Role-based Permissions to Laravel/Lumen 6

27524.0k](/packages/gghughunishvili-entrust)[acoustep/entrust-gui

A GUI for the Entrust package.

11425.7k](/packages/acoustep-entrust-gui)[hosseinhezami/laravel-permission-manager

Advanced permission manager for Laravel.

403.3k](/packages/hosseinhezami-laravel-permission-manager)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
