๐ฉโ๐ป Join our community of thousands of amazing developers!
Imagine you want to have an Eloquent model hold a status. It's easily solved by just adding a status field to that model and be done with it. But in case you need a history of status changes or need to store some extra info on why a status changed, only adding a single field won't cut it. To handle these cases, our team has created a package called laravel-model-status. After installing the package you must add the HasStatuses trait to all models that need to have statuses. You can set a new sta...