What's Changed
- Update README.md by @herovish143 in #6
- feat: code optimize by @eramitgupta in #7
New Contributors
- @herovish143 made their first contribution in #6
Full Changelog: v2.2.0...v2.3.0
Refactor: bind Role and Permission models directly in the service container
- Refactored the
PermissionServiceProvider
to bind the Role and Permission models directly into the service container - Removed the need for publishing model stubs, simplifying the package setup process
- The registered models now handle relationships with users, roles, and permissions, including support for permission expiration
- Enhances flexibility by reducing setup steps for integrating the package into Laravel applications