Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Model Status Laravel Package

spatie/laravel-model-status

Add status history to any Eloquent model with Spatie’s HasStatuses trait. Set statuses (strings or enums), store reasons/extra info, and retrieve current or previous statuses via convenient helpers like status() and latestStatus().

View on GitHub
Deep Wiki
Context7
1.20.0

Add Laravel 13 support

1.18.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-model-status/compare/1.17.2...1.18.0

1.17.1

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/laravel-model-status/compare/1.17.0...1.17.1

1.17.0
1.11.0
  • Support Laravel 9
1.10.2
  • add support for PHP 8
1.10.1
  • add support for Laravel 8
1.10.0
  • add support for Laravel 7
1.9.0
  • add possibility to delete a status and check for specific status
1.8.0
  • add support for Laravel 6
1.7.1
  • performance improvements
1.7.0
  • drop support for Laravel 5.7 and below
  • drop support for PHP 7.1 and below
1.6.4
  • add support for Laravel 5.8
1.6.3
  • use Str:: and Arr:: instead of helper methods
1.6.2
  • add support for Laravel 5.7
1.6.1
  • Use null as default for reason on statuses
1.6.0
  • add model id config option
1.5.0
  • add support for custom polymorphic model types
1.4.0
  • add an ability to find models by multiple statuses
1.3.1
  • performance optimizations
1.3.0
  • add StatusUpdated event
1.2.0
  • add forceStatus
1.1.0
  • add notCurrentStatus scope
1.0.6
  • add __toString to Spatie\ModelStatus\Status
  • add currentStatus scope
1.0.5

THIS VERSION CONTAINS BUGS, DO NOT USE

1.0.4
  • add support for L5.6
1.0.3
  • make reason nullable
1.0.2
  • fix stub publishing path
1.0.1
  • fix migration stub path
1.0.0
  • initial release
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codraw/framework-extra-bundle
codraw/messenger
codraw/security
codraw/mailer
codraw/contracts
codraw/profiling
codraw/dependency-injection
codraw/tester
codraw/core
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony