laravel-membership
Laravel / PHP 8.3+Polymorphic membership & roles for Laravel SaaS applications.
The membership layer we built for our own SaaS products — open-sourced. Manages who belongs to what, and with which role, across any Eloquent model.
Highlights
-
Polymorphic across any Eloquent model
-
Enum roles with hierarchy levels
-
Role guards & policy helpers
-
Events for membership changes
-
Soft deletes for membership history
Installation
composer require vimatech/laravel-membership