定制 maherelgamil/cachebusting 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

maherelgamil/cachebusting

Composer 安装命令:

composer require maherelgamil/cachebusting

包简介

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

README 文档

README

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

Installation

Composer

Add Laravel Cachebusting to your composer.json file.

"maherelgamil/cachebusting": "dev-master"

Run composer install to get the latest version of the package.

Manually

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

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.

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

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

统计信息

  • 总下载量: 25
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-01-23