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

bryanjhv/laravel-blade-cdn

Blade directive to get asset URLs according to environment.

178 2
tappleby/laravel-asset-manifest

Laravel 4 package for re-mapping assets paths, useful for asset revving using to...

940 4
djordje/laravel-asset-symlinker

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

2,575 0
fisharebest/laravel-assets

Asset management for Laravel

8,129 20
facuz/laravel-themes

Theme will help you organize your themes inside Laravel projects easily and main...

44,691 137