benconstable/phpspec-laravel
phpspec-laravel adds Laravel-aware testing to phpspec, bootstrapping your app and providing matchers and helpers for Eloquent models, routes, views, and more so you can write expressive specs for Laravel code.
^4.0.1 or later, never 4.0.0, and add a standing rule that major upgrades are scheduled only after the .0.1 release lands.Consider it when:
.0.1 after a major is a positive maturity indicator, not a red flag.composer update plus composer dump-autoload.Look elsewhere or defer when:
.0.1+ (i.e., you would be shipping the broken 4.0.0).For executives: This is a maintained Laravel dependency whose latest major release had a packaging regression, already fixed in a patch. It is a small, scheduled maintenance item — one PR, one regression run — not a project. Staying current keeps us on a supported line and avoids a forced upgrade later at higher cost.
For engineering: v4 moved to PSR-4 autoloading and broke vendor paths; v4.0.1 fixes that. Upgrade in a dedicated PR: bump to ^4.0.1, run composer dump-autoload, re-publish any package assets, and grep for hardcoded vendor/ paths in deployment and CI config. Run the full suite before merge. There are no new features or deprecations in this patch — it is purely a stability fix, so scope should stay tight.
How can I help you explore Laravel packages today?