publiux/laravelcdn
Publiux LaravelCDN integrates CDN asset delivery into Laravel. Configure a provider, upload or push static assets, and generate CDN URLs so your app serves images, CSS, and JavaScript from the edge for faster load times.
v4.1.0 is a compatibility release: the only change is Laravel 10 support. There are no new APIs, no deprecations, and no breaking changes, so this is a low-risk upgrade rather than a feature release. The practical impact is on your version constraints, not your code.
Minimum steps:
composer.json (^4.1) and run composer update <vendor/package>.Where to look first:
First use case: integrate the package into a single feature behind a thin wrapper, exercise it with one feature test using RefreshDatabase, and only then roll it out across the application.
Config-first, never vendor edits. Publish the config (php artisan vendor:publish --provider="..."), commit it, and drive environment differences through env() backed by .env. Treat the published file as application code and expect to diff it on upgrades.
Bind through the container, not the facade. If the package ships an interface or manager, bind your preferred implementation in a dedicated AppServiceProvider (register()). Constructor injection keeps tests swappable; reserve facades for controllers and Blade.
Own a thin adapter. Wrap package calls in a small application-level service class. It costs an hour now and contains the blast radius of the next major version, which is exactly the kind of change a v5 would bring.
Test against the package's helpers. Reuse its factories, fake implementations, or test traits rather than hand-rolling fakes — they're maintained alongside the framework constraint and will track Laravel 10's changes for you.
CI matrix. Once on v4.1, run at least two jobs: Laravel 10 (the new ceiling) and the lowest version you claim to support. This catches constraint drift early and tells you immediately whether the next framework bump is safe.
Queues and long-lived workers. Configuration is resolved at worker boot. After any config change or deploy, restart workers (queue:restart) and reload Octane — otherwise you'll debug a config value that the running process never read.
Upgrade discipline. Because v4.1 changes no code paths, it's a good moment to validate the rest of your upgrade story (config cache, published assets, migration state) without the noise of API changes.
composer update on a PHP 8.0 image fails with a constraint error that reads like a package problem. Check composer check-platform-reqs and your CI image before anything else.composer.lock diff; don't assume "only the framework changed."php artisan optimize:clear before reading a single line of source.php artisan migrate --pretend before running against anything shared.register() or boot() and whether your override runs after it.How can I help you explore Laravel packages today?