Bouncer
PHP library for managing roles, abilities and model ownership on Eloquent models, integrated with Laravel's gate.
Bouncer manages roles and abilities on Eloquent models, and it is installed with Composer. A developer grants abilities to users and roles, restricts an ability to a model type or a model instance, forbids an ability, and lets a user or role own a model. In a Laravel app, Bouncer is consulted when an ability is checked at Laravel’s gate. The README has a separate install section for apps that do not use Laravel, which starts with the same Composer command.
Identity
- Status
- Active
- Maintainer
- Joseph Silber4
- Maintained by
- Individual
- First release
- 20155
Rendering and deploy
- Install with
- composer require silber/bouncer2
Releases
Adoption
Sources
- 2026-11-04: links, Written in, License, GitHub stars
api.github.com/repos/JosephSilber/bouncer - 2026-11-04: links, Categories, Install with, License model
github.com/JosephSilber/bouncer/blob/master/readme.md - 2026-11-04: Runtime, Minimum runtime
github.com/JosephSilber/bouncer/blob/v1.0.4/composer.json - 2026-11-04: Maintainer
raw.githubusercontent.com/JosephSilber/bouncer/master/LICENSE.txt - 2026-11-04: First release
repo.packagist.org/p2/silber/bouncer.json - 2026-11-04: Current major version, Last release
api.github.com/repos/JosephSilber/bouncer/releases - 2026-11-04: Contributors
api.github.com/repos/JosephSilber/bouncer/contributors - 2026-11-04: Packagist downloads
packagist.org/packages/silber/bouncer.json - 2026-11-04: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/packagist.org/packages/silber%2Fbouncer