fridzema/cdn-prefixer

Little optional cdn url prefixer, can be used as an replacement for the default asset helper

Maintainers

Package info

github.com/fridzema/laravel-cdn-prefixer

Homepage

pkg:composer/fridzema/cdn-prefixer

Statistics

Installs: 42

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v0.0.1 2017-08-12 20:15 UTC

This package is auto-updated.

Last update: 2026-02-16 05:52:30 UTC


README

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')