Bouncer is an elegant, framework-agnostic approach to managing roles and abilities for any app using Eloquent models. Bouncer is an elegant, framework-agnostic approach to managing roles and abilities for any app using Eloquent models. With an expressive and fluent syntax, it stays out of your way as much as possible: use it when you want, ignore it when you don't. Bouncer works well with other abilities you have hard-coded in your own app. Your code always takes precedence: if your code allows an action, Bouncer will not interfere. When you check abilities at Laravel's gate, Bouncer will automatically be consulted. If Bouncer sees an ability that has been granted to the current user (whether directly, or through a role) it'll authorize the check.

Features

  • Install Bouncer in a non-Laravel app
  • Documentation available
  • Add Bouncer's trait to your user model
  • You can now inject Bouncer into any class that needs it
  • Bouncer's queries are cached for the current request
  • Assign roles to a user
  • Allow a user or role to "own" a model

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow Bouncer

Bouncer Web Site

Other Useful Business Software
The only CRM built for B2C Icon
The only CRM built for B2C

Stop chasing transactions. Klaviyo turns customers into diehard fans—obsessed with your products, devoted to your brand, fueling your growth.

Klaviyo unifies your customer profiles by capturing every event, and then lets you orchestrate your email marketing, SMS marketing, push notifications, WhatsApp, and RCS campaigns in one place. Klaviyo AI helps you build audiences, write copy, and optimize — so you can always send the right message at the right time, automatically. With real-time attribution and insights, you'll be able to make smarter, faster decisions that drive ROI.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Bouncer!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Frameworks

Registered

2024-04-04