hnhdigital-os/laravel-model-json
Laravel package for storing Eloquent model data in JSON columns. It adds JSON-backed attributes and model behavior so you can work with flexible schemas while still using familiar Eloquent accessors, casts, and queries.
~1.4.* for Laravel ≤5.7, ^1.5 for Laravel ≥5.8). This is a decision input for how we constrain composer.json per application and whether we standardize on a single Laravel minor across the fleet or allow mixed versions.^1.5; work on 5.6/5.7 stays on ~1.4.*. This affects sprint planning for upgrade tickets and the order in which we upgrade services.Adopt or retain when:
^1.5) or on 5.6/5.7 with no near-term upgrade (pin ~1.4.*).Look elsewhere or defer when:
Note that this release is a compatibility bump, not a feature release — there is no new capability to evaluate on its own merits.
For executives: We depend on a small PHP package that handles query scopes in our Laravel applications. The maintainer has shipped a release aligned to Laravel 5.8. Nothing breaks on our current version, but our framework upgrade is now a two-part task: upgrade Laravel, and move this package from the 1.4 line to the 1.5 line in lockstep. The cost is a scheduled upgrade ticket and a regression pass on scope-driven screens, not a re-architecture.
For engineering: Version 1.5.0 responds to Laravel 5.8's change in function scope behavior. Pin ~1.4.* while on Laravel ≤5.7 and ^1.5 on ≥5.8. The 1.4 and 1.5 lines diverge, so do not assume a single constraint works across the fleet. Upgrade order matters: bump Laravel and this package in the same change set, then regression-test filtering, search, and reporting paths that rely on scopes. If any service is on 5.5 or earlier, verify support separately — the notes only define the 5.7/5.8 boundary.
How can I help you explore Laravel packages today?