PHPackages                             gillyware/gatekeeper - 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. gillyware/gatekeeper

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

gillyware/gatekeeper
====================

Gatekeeper provides an expressive, fluent interface for access control.

v2.2.0(8mo ago)3154MITPHPPHP ^8.2CI passing

Since Jul 22Pushed 8mo agoCompare

[ Source](https://github.com/gillyware/gatekeeper)[ Packagist](https://packagist.org/packages/gillyware/gatekeeper)[ RSS](/packages/gillyware-gatekeeper/feed)WikiDiscussions 2.x Synced today

READMEChangelog (7)Dependencies (13)Versions (10)Used By (0)

[![Gatekeeper Logo](https://private-user-images.githubusercontent.com/62025141/468317959-fffe9f56-9e99-4997-b7eb-cdca72f8a67d.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE2Nzc1ODcsIm5iZiI6MTc4MTY3NzI4NywicGF0aCI6Ii82MjAyNTE0MS80NjgzMTc5NTktZmZmZTlmNTYtOWU5OS00OTk3LWI3ZWItY2RjYTcyZjhhNjdkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjE3VDA2MjEyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIxYzA5NDVmNTE1YzMxY2I1NzhmMGJkZTVkZTI4NThiYjg2OTcyNTQ0OGZlYzQ2ZjZkZmExMjVhYTdlYzczYzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.fl1Ne48zRV6pYxJbU5aOU1UqocjDQUQInK2YoyGm-lk)](https://private-user-images.githubusercontent.com/62025141/468317959-fffe9f56-9e99-4997-b7eb-cdca72f8a67d.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE2Nzc1ODcsIm5iZiI6MTc4MTY3NzI4NywicGF0aCI6Ii82MjAyNTE0MS80NjgzMTc5NTktZmZmZTlmNTYtOWU5OS00OTk3LWI3ZWItY2RjYTcyZjhhNjdkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjE3VDA2MjEyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIxYzA5NDVmNTE1YzMxY2I1NzhmMGJkZTVkZTI4NThiYjg2OTcyNTQ0OGZlYzQ2ZjZkZmExMjVhYTdlYzczYzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.fl1Ne48zRV6pYxJbU5aOU1UqocjDQUQInK2YoyGm-lk)

[![Build Status](https://github.com/gillyware/gatekeeper/workflows/tests/badge.svg)](https://github.com/gillyware/gatekeeper/actions)[![Total Downloads](https://camo.githubusercontent.com/a21de7e7262f77d5288baf6dfa995c97df4136c1c68abd250d6b27da289d21ef/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67696c6c79776172652f676174656b6565706572)](https://packagist.org/packages/gillyware/gatekeeper)[![Latest Stable Version](https://camo.githubusercontent.com/7ef3f13e8a98a1c0adece5865176ddd38610d4fba50234d1d529775464ae03be/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f67696c6c79776172652f676174656b6565706572)](https://packagist.org/packages/gillyware/gatekeeper)[![License](https://camo.githubusercontent.com/18c4e94da7fef43dd435439d8f7c2372db32b92ff50b52c1bac3b1efe6e64f95/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f67696c6c79776172652f676174656b6565706572)](https://packagist.org/packages/gillyware/gatekeeper)

About Gatekeeper
----------------

[](#about-gatekeeper)

Gatekeeper is an access control management system for Laravel that combines a comprehensive dashboard with code-driven configuration. It allows you to manage permissions, roles, features, and teams while maintaining a full audit trail of changes to entities and their assignments.

 [![Gatekeeper Dashboard](https://private-user-images.githubusercontent.com/62025141/473864148-1641e59b-56be-4a7f-b48c-fbdc8c7f580f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE2Nzc1ODcsIm5iZiI6MTc4MTY3NzI4NywicGF0aCI6Ii82MjAyNTE0MS80NzM4NjQxNDgtMTY0MWU1OWItNTZiZS00YTdmLWI0OGMtZmJkYzhjN2Y1ODBmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjE3VDA2MjEyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIxNTRlMTM3N2U1MjcxYjA4NTM2YzRjODQyOWMwOWE1ZTcwYjM1YzE1ZGUxYWFjYjhlNWZlMzg4NmEyMjllNDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.JaiIfd6cYxEEmPyu7g0o4jaP7YvtJDDsw0VWLjUJ898)](https://private-user-images.githubusercontent.com/62025141/473864148-1641e59b-56be-4a7f-b48c-fbdc8c7f580f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE2Nzc1ODcsIm5iZiI6MTc4MTY3NzI4NywicGF0aCI6Ii82MjAyNTE0MS80NzM4NjQxNDgtMTY0MWU1OWItNTZiZS00YTdmLWI0OGMtZmJkYzhjN2Y1ODBmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjA2MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwNjE3VDA2MjEyN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIxNTRlMTM3N2U1MjcxYjA4NTM2YzRjODQyOWMwOWE1ZTcwYjM1YzE1ZGUxYWFjYjhlNWZlMzg4NmEyMjllNDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.JaiIfd6cYxEEmPyu7g0o4jaP7YvtJDDsw0VWLjUJ898)

Official Documentation
----------------------

[](#official-documentation)

### Full documentation is available in the [`/docs`](./docs) directory.

[](#full-documentation-is-available-in-the-docs-directory)

Getting Started:

- [Installation](./docs/installation.md)
- [Configuration](./docs/configuration.md)

Entities:

- [Permissions](./docs/usage/permissions.md)
- [Roles](./docs/usage/roles.md)
- [Features](./docs/usage/features.md)
- [Teams](./docs/usage/teams.md)

Tracking Entity and Entity Assignment Changes:

- [Audit Logging](./docs/advanced/audit-logging.md)

Controlling Access Using Entities:

- [Blade Directives](./docs/usage/blade-directives.md)
- [Middleware](./docs/usage/middleware.md)

Manage Entities and Assignments:

- [Artisan Commands](./docs/usage/artisan-commands.md)

License
-------

[](#license)

Gatekeeper is open-sourced software licensed under the [MIT license](LICENSE.md).

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance60

Regular maintenance activity

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~10 days

Recently: every ~21 days

Total

10

Last Release

251d ago

Major Versions

1.x-dev → v2.0.02025-08-01

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/62025141?v=4)[braxey](/maintainers/braxey)[@braxey](https://github.com/braxey)

---

Top Contributors

[![braxey](https://avatars.githubusercontent.com/u/62025141?v=4)](https://github.com/braxey "braxey (131 commits)")

---

Tags

laravelauthorizationrolespermissionsaccess-controlTeamsfeatures

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/gillyware-gatekeeper/health.svg)

```
[![Health](https://phpackages.com/badges/gillyware-gatekeeper/health.svg)](https://phpackages.com/packages/gillyware-gatekeeper)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.6k29.9M146](/packages/laravel-cashier)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[livewire/livewire

A front-end framework for Laravel.

23.6k89.0M2.7k](/packages/livewire-livewire)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M193](/packages/laravel-ai)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M132](/packages/laravel-pulse)

PHPackages © 2026

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