mezatech/assets-cdn
Larablocks Analysis
mezatech/assets-cdn works with Laravel 5 (latest release v1.1, Aug 15, 2016), which reached end of life: no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 5, past end of life
- No release in the last 12 months (last: Aug 15, 2016)
- 0 downloads a month (needs 10,000)
- 3 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Aug 15, 2016.
- No releases in the last 12 months.
- First released: Aug 15, 2016.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 28, 2026.
| Install | |
|---|---|
composer require mezatech/assets-cdn |
|
| Latest Version: | v1.1 |
| PHP: | >=5.4.0 |
| Laravel: | 5 |
| License: | MIT |
| Last Updated: | Aug 15, 2016 |
| Links: | GitHub · Packagist |
assets-cdn
Easily display your Laravel assets through a cdn without having to change a line in your views.
Installation
Add the following require to your composer.json file:
"require": {
...
"amrsoliman/assets-cdn": "1.*"
},
...
"post-install-cmd": [
...
"php artisan assets-cdn:update"
],
Then run composer update
Add "AmrSoliman\AssetsCdn\AssetsCdnServiceProvider", to the list of providers in config/app.php.
Run php artisan vendor:publish
Go to file config/assets-cdn.php and configure your CDN. We recommend only enabling it in production.
Note on the CDN
Any CDN works provided that the following conditions are met:
- The path on your server is the same as the path on the CDN (i.e. yoursite.com/assets/image.png = the.cdn.net/assets/image.png)
- The CDN passes through query strings, so that we can invalidate previous versions of your file when you install a new commit?
Alternatives to mezatech/assets-cdn
Prefixes asset urls with a unique hash which will allow invalidation of asset fi...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.1 | >=5.4.0 | 5.1.x | MIT |