misterbk/mix
A Laravel integration for Laravel Mix that adds helpers and Blade directives to resolve compiled CSS/JS paths from mix-manifest.json, making versioned assets easy to reference and cache-bust without hardcoding URLs in your templates.
mix-manifest.json (and hot-server file) and exposes resolved, cache-busted asset paths to Twig — typically as a mix() helper. The real decision is whether that glue is worth a dependency or ~50 lines of custom Twig extension in your own module. At this size, “buy” is really “rent” — and renting costs you a vendor review, a composer constraint, and an upgrade path.Consider it when:
Look elsewhere when:
To executives: A small, free, MIT-licensed Craft CMS plugin that connects our asset build output to our templates. It lets us serve fingerprinted asset filenames, so we can cache aggressively at the CDN and ship front-end changes without cache-invalidation risk. Cost is effectively zero; the integration is a few lines in a template. The caveat is that it’s a niche, thinly-adopted utility — so we treat it as a convenience, not an architectural bet, and we keep the exit cheap.
To engineering: It solves one boring problem well — resolving mix-manifest.json entries (and the hot-server file in dev) into template-ready URLs. That removes repeated boilerplate from every Craft project and standardizes how we reference assets. Trade-off: it hardens our commitment to Laravel Mix, which is on the wrong side of the ecosystem’s move to Vite. Recommendation: adopt only where Mix already exists, pin the version, and wrap the call behind our own template helper so swapping to a Vite-based solution later is a one-file change rather than a template-wide refactor.
How can I help you explore Laravel packages today?