2017 © Pedro Peláez
 

library cachebusting

Easy and useful tool to change version of file if it modified for laravel 4 .

image

maherelgamil/cachebusting

Easy and useful tool to change version of file if it modified for laravel 4 .

  • Friday, January 23, 2015
  • by maherbusnes
  • Repository
  • 1 Watchers
  • 2 Stars
  • 18 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Cachebusting

Easy and useful tool to change version of file if it modified for laravel 4 ., (*1)

Installation

Composer

Add Laravel Cachebusting to your composer.json file., (*2)

"maherelgamil/cachebusting": "dev-master"

Run composer install to get the latest version of the package., (*3)

Manually

It's recommended that you use Composer, however you can download and install from this repository., (*4)

Laravel 4

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., (*5)

Open app/config/app.php and find the providers key. Add Cachebusting\CachebustingServiceProvider to the array., (*6)

    ...
    'Maherelgamil\Cachebusting\CachebustingServiceProvider'
    ...

You can also add an alias to the list of class aliases in the same app.php, (*7)

    ...
    'Bust'    => 'Maherelgamil\Cachebusting\Facades\Cachebusting'
    ...

Useage

        <link rel="stylesheet" type="text/css" href="{{ Bust::url('css/style.css') }}" />

License

Cachebusting is an open-sourced laravel package licensed under the MIT license, (*8)

The Versions

23/01 2015

dev-master

9999999-dev https://github.com/maherelgamil/cachebusting

Easy and useful tool to change version of file if it modified for laravel 4 .

  Sources   Download

MIT

The Requires

 

laravel cache php assets busting