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

Technical Evaluation

Architecture fit: The package integrates seamlessly with Laravel's Eloquent ORM using a dedicated statuses table and trait-based implementation. It avoids schema pollution of primary models while supporting historical tracking and metadata (reasons, timestamps), aligning perfectly with Laravel's conventions. The separation of status history from core model data follows best practices for auditability.

Integration feasibility: High. Installation requires only composer require and standard Laravel publishing commands for migrations/config. The trait-based approach requires minimal code changes to existing models. The migration process is well-documented and automated via Artisan commands.

Technical risk: Moderate.

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4