laravel-eloquent-state-machines
laravel-eloquent-state-machines copied to clipboard
State Machines for your Laravel Eloquent models
## Summary Fix ttpo ## Issue ## Type of Change - [ ] :rocket: New Feature - [ ] :bug: Bug Fix - [ ] :hammer: Refactor - [ ]...
Laravel 9 support casting enum in model, after adding this casts, the state machine lives with errors. **To Reproduce** Steps to reproduce the behavior: 1. Create Enum 2. Add casting...
php artisan vendor:publish --all will create a new migration files everytime it is deployed. **To Reproduce** 1.use CI/CD to deploy laravel project 2. use command php artisan vendor:publish --all &&...
Seems to be a simple fix to update the dependencies to support Laravel 9.
## Summary This adds some useful data to the invalid transition exception. This is quite handy for displaying information to the user about the failed transition. ## Type of Change...
## Summary Currently it's very difficult to pass data to transition hooks. I have this problem when I want to make a transition and the hooks depend on data that...
## Summary This will add functionality that allows the user to use wildcards when defining state changes. This can prove useful if you have a lot of states and you...
## Summary Added support for using an array of statuses when using transitionedFrom(), transitionedTo() and withTransition() methods. ## Type of Change - [x] :rocket: New Feature - [ ] :bug:...
### Summary What's the new feature about? What should it do? When recordHistory is true all the attribute that changed are saved in "changed_attribute". If there are a lot of...
### Summary What's the new feature about? What should it do? ``` return [ 'pending' => ['approved', 'declined'], 'approved' => ['processed'], ]; ``` I need to know which states are...