- Support for Laravel 10
- Added support for PHP 8.1
- Added support for Laravel 9
- You can now specify the unit for suspension period (days or minutes). The third argument of the
suspend
method takes an optional unit period.
- Support for PHP 8
- Support for Laravel 8
- Fixed
nonActiveSuspensions
scope to include models that don't have a suspensions relationship.
- Added query scope
activeSuspensions
to get all active suspensions - Added query scope
nonActiveSuspensions
to get all non-active suspensions
- fixed issue with model suspension check for instances when model is not currently suspended
- initial release.