Registry / auth / silber-bouncer

silber-bouncer

JSON →
library1.0.4phppackagistunverified

Eloquent roles and abilities for Laravel authorization.

composer require silber/bouncer
INSTALL
IMPORT
SIG · SILBER-BOUNCER
S
silber-bouncer
authphpv1.0.4
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Bouncer
use Silber\Bouncer\Bouncer;

Allow a user to create posts

use Silber\Bouncer\Bouncer; $bouncer = app(Bouncer::class); $bouncer->allow($user)->to('create', Post::class);
Debug
Known issues
gotchaRequires Laravel Eloquent and database
fix
Ensure Laravel is installed and migrations are run.
affects: >=1.0.0
Upgrade
Version history
1.0.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
silber-bouncer — pip install silber-bouncer · libregistry