New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

fridzema/cdn-prefixer

Little optional cdn url prefixer, can be used as an replacement for the default asset helper
42
Install
composer require fridzema/cdn-prefixer
Latest Version:v0.0.1
License:MIT
Last Updated:Aug 12, 2017
Links: GitHub  ·  Packagist
Maintainer: fridzema

composer require fridzema/cdn-prefixer

Add to providers array in config/app.php Fridzema\CdnPrefixer\CdnPrefixerServiceProvider::class

Run in terminal php artisan vendor:publish --tag=config

Use cdn() instead of asset() in your application now and it will be prefixed. cdn('js/app.js')

Related Packages

damianromanowski/simplecdn

Laravel 4 simple content delivery network URL rewriter

862 17
cdn
bryanjhv/laravel-blade-cdn

Blade directive to get asset URLs according to environment.

178 2
nasyrov/laravel-imgix

Laravel package for generating URLs with Imgix.

47,534 14
xunextw/laravel-imgix

Laravel package for generating URLs with Imgix.

3,047 0
djordje/laravel-asset-symlinker

This tool enable symlinking of workbench or vendor's assets to your Laravel 4 pu...

2,575 0

Version History

Version Released License
v0.0.1 MIT