alpshq/statamic-asset-collector
A Statamic addon for gathering front-end assets in your templates. Asset Collector lets you collect CSS and JavaScript references from Antlers views and output them together, keeping asset handling organized across layouts and partials.
What the release tells us. v1.0.1 is a patch-level bump whose only documented change is "Add Statamic 4 support." Two things follow from that single line, and both matter more than the version number suggests:
Architecture fit. Reasonable if the target application is already on Statamic. The package slots into the standard Laravel service-provider + addon-discovery model, so there is no bespoke wiring to own. Fit degrades sharply if the application is plain Laravel with no CMS: the Statamic dependency becomes dead weight and a transitive-version liability. The key architectural question is whether Statamic support is additive (one codebase, conditional integration) or whether v1.0.1 silently replaced the v1.0.0 constraint set.
Integration feasibility. Composer-level integration is straightforward; the work is in verifying the resolved matrix. The red flag is that a patch release added support for a new major CMS version. Conventionally that is a minor or major release, because it changes the compatibility surface. Either the maintainer is bundling multi-version support behind version detection (fine, but needs a test matrix to be credible), or the constraint was widened without a corresponding test-matrix expansion (not fine). We cannot tell from the changelog alone.
Technical risk. Low-to-moderate, concentrated in three places:
composer.json widened statamic/cms to ^3.0|^4.0 in a patch, downstream lockfiles could move on a routine composer update with no application-code change — the worst kind of surprise.Key questions for the maintainer:
php, laravel/framework, and statamic/cms constraints before and after?Stack fit. Assume a Statamic 4 application on Laravel 10/11 and PHP 8.2. That is the happy path and where this release adds value. For a Statamic 3 application the release is a no-op at best; confirm it is not a forced upgrade. For a plain-Laravel application, treat the Statamic coupling as a cost and evaluate whether a CMS-agnostic alternative exists.
Compatibility verification before adoption. Diff composer.json between v1.0.0 and v1.0.1 rather than reading the changelog. Specifically confirm whether the Statamic constraint was widened with |, narrowed, or branched. Run composer why-not statamic/cms 4.x and composer outdated --direct against the target app to surface resolver conflicts early. Check composer.lock delta on a throwaway branch before touching the real one.
Migration path. Two independent moves that should not be conflated:
Sequencing.
composer.json constraints; confirm the test matrix claim.composer.lock committed and reviewed.Compatibility note for the team. Any addon that registers fieldtypes or modifies the Stache has an outsized blast radius in Statamic; verify cache-clearing behaviour explicitly rather than assuming it matches Statamic 3.
Maintenance. The package is young and the maintainer is responsive — shipping Statamic 4 support promptly is a genuine positive signal for a v1.0.x project. The counterweight is that a young package's maintenance burden transfers to us: expect to read changelogs line by line, pin versions aggressively, and budget time for minor-version breakage. Pin to exact versions (1.0.1, not ^1.0) and upgrade deliberately.
Support. Unknown and worth resolving before production dependency. Establish whether there is a public issue tracker with recent maintainer activity, and whether Statamic 3 issues still receive responses. Absent that, plan for the package to be vendored or forked if it goes stale — a common and acceptable outcome for small addons, but one that requires the code to be readable.
Scaling. Statamic's Stache and static caching dominate performance far more than a typical addon will, so the package is unlikely to be the scaling bottleneck. The scaling concern is organizational: the compatibility surface now spans two CMS majors, which doubles the regression-testing surface for a team of any size. If we run both Statamic 3 and 4 applications, we now own a matrix we did not own before.
Failure modes to plan for.
stache:clear and full cache clear as a documented post-deploy step.Ramp-up. Low for anyone already fluent in Statamic; the integration is idiomatic Laravel. Higher for a team new to Statamic, since they must learn the Stache, addon lifecycle, and control-panel extension points before they can debug the package's behaviour. Budget roughly a day for a Statamic-fluent engineer to validate, and treat that validation as a prerequisite rather than an optional step.
Verdict. Adopt on Statamic 4 applications, pinned and verified, after diffing the constraints and confirming a test matrix exists. Do not treat v1.0.1 as a green light for a Statamic 3 → 4 migration; it removes one dependency blocker but says nothing about the rest of the addon inventory or the content-migration effort.
How can I help you explore Laravel packages today?