machy8/webloader-bundle
Symfony bundle that integrates WebLoader for managing CSS and JavaScript assets: combine, minify, and cache files through configurable loaders, with lazy loading and Twig helpers for faster, cleaner front-end delivery in Symfony applications.
composer require vendor/package. For Symfony 5 projects, require v1.1.2 or later — earlier 1.1.x releases contained a BC break against Symfony 5. Symfony 4.* remains supported on the same 1.1.x line.composer show vendor/package and composer why symfony/*. The package intentionally spans symfony/* ^4.4|^5.0, so your lockfile decides which code path you get.php artisan vendor:publish --provider="Vendor\Package\PackageServiceProvider". Read the published file top-to-bottom — defaults usually encode the intended integration.app(Manager::class) or the facade) inside a controller or a queued job, and exercise one read-only operation before wiring it into write paths.README.md (install + version matrix), CHANGELOG.md (the 1.1.2 entry is your signal for Symfony 5 readiness), the service provider (what is bound and how), and the config file (what is tunable).config/ with env() fallbacks, then override per-environment in .env. Cache with php artisan config:cache in deploy pipelines.^1.1.2 and pin Symfony components consistently across the app. Avoid mixing a Symfony 4 constraint on one package with Symfony 5 on another; let Composer resolve the whole set together.orchestra/testbench for package-level integration tests and plain phpunit for units. Bind fakes or mocks of the Symfony collaborators the package consumes so tests behave the same on Symfony 4 and 5 CI legs.handle() rather than storing it on a serialized job property; Symfony-backed services often hold non-serializable state.extend()/driver registration hooks rather than subclassing internals — internals are exactly what changed between Symfony 4 and 5.Class not found, signature mismatch, or Declaration must be compatible errors from a Symfony namespace, check the package version first.instanceof checks or type hints against Symfony classes that moved between 4 and 5; go through the package's public API instead.composer why-not symfony/console 5.x and composer update --with-dependencies on a scratch branch. Conflicting transitive Symfony constraints are the usual culprit.php artisan config:clear && php artisan cache:clear — stale cached config referencing old class names produces confusing errors after a version bump.php artisan tinker then app()->bound(...) / get_class(app(SomeContract::class)) to confirm which implementation is live.1.1.x upgrades as reviewable, not automatic.How can I help you explore Laravel packages today?