Easy and useful tool to change version of file if it modified for laravel 4 .
maherelgamil/cachebusting is a Laravel package for easy and useful tool to change version of file if it modified for laravel 4 ..
It currently has 2 GitHub stars and 25 downloads on Packagist.
Install it with composer require maherelgamil/cachebusting.
Discover more Laravel packages by maherelgamil
or browse all Laravel packages to compare alternatives.
Last updated
Easy and useful tool to change version of file if it modified for laravel 4 .
Add Laravel Cachebusting to your composer.json file.
"maherelgamil/cachebusting": "dev-master"
Run composer install to get the latest version of the package.
It's recommended that you use Composer, however you can download and install from this repository.
Cachebusting comes with a service provider for Laravel 4. You'll need to add it to your composer.json as mentioned in the above steps, then register the service provider with your application.
Open app/config/app.php and find the providers key. Add Cachebusting\CachebustingServiceProvider to the array.
...
'Maherelgamil\Cachebusting\CachebustingServiceProvider'
...
You can also add an alias to the list of class aliases in the same app.php
...
'Bust' => 'Maherelgamil\Cachebusting\Facades\Cachebusting'
...
<link rel="stylesheet" type="text/css" href="{{ Bust::url('css/style.css') }}" />
Cachebusting is an open-sourced laravel package licensed under the MIT license