| Package Data | |
|---|---|
| Maintainer Username: | AmrSoliman | 
| Maintainer Contact: | gdelia@thrustdivision.com (Giordano Bruno d'Elia) | 
| Package Create Date: | 2016-08-15 | 
| Package Last Update: | 2016-08-15 | 
| Home Page: | |
| Language: | PHP | 
| License: | MIT | 
| Last Refreshed: | 2025-10-26 03:18:30 | 
| Package Statistics | |
|---|---|
| Total Downloads: | 346 | 
| Monthly Downloads: | 0 | 
| Daily Downloads: | 0 | 
| Total Stars: | 3 | 
| Total Watchers: | 1 | 
| Total Forks: | 0 | 
| Total Open Issues: | 0 | 
Easily display your Laravel assets through a cdn without having to change a line in your views.
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.
Any CDN works provided that the following conditions are met: