Laravel Ban simplify management of Eloquent model’s ban. Make any model bannable in a minutes!
Use case is not limited to User model, any Eloquent model could be banned: Organizations, Teams, Groups and others.
- Features
- Installation
- Usage
- Integrations
- Changelog
- Upgrading
- Contributing
- Testing
- Security
- Contributors
- Alternatives
- License
- About CyberCog
- Model can have many bans.
- Removed bans kept in history as soft deleted records.
- Most parts of the logic is handled by the
BanService. - Has middleware to prevent banned user route access.
- Use case is not limited to
Usermodel, any Eloquent model could be banned. - Events firing on models
banandunban. - Designed to work with Laravel Eloquent models.
- Has Laravel Nova support.
- Using contracts to keep high customization capabilities.
- Using traits to get functionality out of the box.
- Following PHP Standard Recommendations:
- Covered with unit tests.