Packagist · packagist:spatie/laravel-model-states
spatie/laravel-model-states active
State support for Eloquent models
| Latest stable version | 2.14.2 |
|---|---|
| Published | 2026-07-22 06:47:35+00:00 |
| Install | composer require spatie/laravel-model-states |
| Required PHP version (composer.json) | PHP ^8.4 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-09 03:02:46 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-07-22 06:47:35 UTC · 79 days ago |
| Stable releases in the last 12 months | 6 |
| Published versions | 63 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.14.2 | 2026-07-22 06:47:35 UTC |
2.14.1 | 2026-04-22 07:41:05 UTC |
2.14.0 | 2026-04-20 13:54:44 UTC |
2.13.1 | 2026-02-22 23:11:43 UTC |
2.13.0 | 2026-02-21 16:08:27 UTC |
2.12.2 | 2025-12-10 09:23:31 UTC |
2.12.1 | 2025-08-01 09:20:29 UTC |
2.12.0 | 2025-07-28 08:28:21 UTC |
2.11.3 | 2025-05-23 08:12:29 UTC |
2.11.2 | 2025-03-21 09:04:07 UTC |
2.11.1 | 2025-02-28 09:04:36 UTC |
2.11.0 | 2025-02-26 09:35:35 UTC |
2.10.1 | 2025-02-14 14:22:20 UTC |
2.10.0 | 2024-12-30 09:34:54 UTC |
2.9.0 | 2024-12-16 15:39:46 UTC |
2.8.0 | 2024-12-11 09:58:12 UTC |
2.7.2 | 2024-09-27 07:54:08 UTC |
2.7.1 | 2024-03-07 07:05:22 UTC |
2.7.0 | 2024-03-01 12:55:29 UTC |
2.6.2 | 2024-02-15 10:16:56 UTC |
Showing the 20 most recent of 63 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
php 7.4 | 2.12.1 |
php 8.0 | 2.12.1 |
php 8.1 | 2.12.1 |
php 8.2 | 2.12.1 |
php 8.3 | 2.12.1 |
php 8.4 | 2.14.2 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of spatie/laravel-model-states?
The latest stable version of spatie/laravel-model-states is 2.14.2, published on 2026-07-22. Verified by Vigia on 2026-10-09.
How do I install the latest version of spatie/laravel-model-states?
Run composer require spatie/laravel-model-states. The latest stable version is 2.14.2 (verified 2026-10-09).
Is spatie/laravel-model-states deprecated?
No. spatie/laravel-model-states is not marked as deprecated in the registry.
Which PHP version does spatie/laravel-model-states require?
spatie/laravel-model-states 2.14.2 declares this requirement: PHP ^8.4.
Does spatie/laravel-model-states 2.14.2 have known vulnerabilities?
No known advisories affect spatie/laravel-model-states 2.14.2 according to the data Vigia checks.
Is spatie/laravel-model-states still maintained?
spatie/laravel-model-states published 6 stable releases in the last 12 months; the most recent was 79 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- php-cs-fixer/diff
- psr-discovery/discovery
- kevinrob/guzzle-cache-middleware
- roots/wordpress
- roave/backward-compatibility-check
- hoa/visitor
- laravel-lang/moonshine
- hoa/regex
- laravel/vapor-cli
- php-cs-fixer/shim
- shyim/opensearch-php-dsl
- hoa/math
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/spatie/laravel-model-states) [](https://vigia.coredls.cloud/packagist/spatie/laravel-model-states) [](https://vigia.coredls.cloud/packagist/spatie/laravel-model-states)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/laravel-model-states
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/laravel-model-states/versions/{version}