# Bouncer

PHP library for managing roles, abilities and model ownership on Eloquent models, integrated with Laravel's gate.


Source: https://findsoftware.frbit.cloud/bouncer/
Last reviewed: 2026-11-04
Listed since: 2026-11-04

## Record

### Links

- repository: https://github.com/JosephSilber/bouncer
- docs: https://github.com/JosephSilber/bouncer/blob/master/readme.md

### Identity

- status: active
- maintainer: Joseph Silber
- maintainerType: individual
- parent: unknown
- firstRelease: 2015
- hqCountry: unknown

### Kind

- category: auth
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 8.2
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: composer require silber/bouncer

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 1
- latestReleaseDate: 2026-03-18

### Adoption

- githubStargazers: 3577
- packagistDownloads: 5331530
- npmWeeklyDownloads: not applicable
- contributors: 50
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 309
- dependentPackages: 32

### Sources

- urls: https://api.github.com/repos/JosephSilber/bouncer (read 2026-11-04)
- urls: https://github.com/JosephSilber/bouncer/blob/master/readme.md (read 2026-11-04)
- category: https://github.com/JosephSilber/bouncer/blob/master/readme.md (read 2026-11-04)
- language: https://api.github.com/repos/JosephSilber/bouncer (read 2026-11-04)
- runtime: https://github.com/JosephSilber/bouncer/blob/v1.0.4/composer.json (read 2026-11-04)
- runtimeMin: https://github.com/JosephSilber/bouncer/blob/v1.0.4/composer.json (read 2026-11-04)
- installMethod: https://github.com/JosephSilber/bouncer/blob/master/readme.md (read 2026-11-04)
- license: https://api.github.com/repos/JosephSilber/bouncer (read 2026-11-04)
- licenseModel: https://github.com/JosephSilber/bouncer/blob/master/readme.md (read 2026-11-04)
- maintainer: https://raw.githubusercontent.com/JosephSilber/bouncer/master/LICENSE.txt (read 2026-11-04)
- firstRelease: https://repo.packagist.org/p2/silber/bouncer.json (read 2026-11-04)
- currentMajor: https://api.github.com/repos/JosephSilber/bouncer/releases (read 2026-11-04)
- latestReleaseDate: https://api.github.com/repos/JosephSilber/bouncer/releases (read 2026-11-04)
- githubStargazers: https://api.github.com/repos/JosephSilber/bouncer (read 2026-11-04)
- contributors: https://api.github.com/repos/JosephSilber/bouncer/contributors (read 2026-11-04)
- packagistDownloads: https://packagist.org/packages/silber/bouncer.json (read 2026-11-04)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/silber%2Fbouncer (read 2026-11-04)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/silber%2Fbouncer (read 2026-11-04)

## Notes

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.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
