exolnet/laravel-bust
最新稳定版本:v1.9.0
Composer 安装命令:
composer require exolnet/laravel-bust
包简介
Provide cache busting helpers to Laravel.
README 文档
README
Provide cache busting helpers to Laravel.
Installation
Require this package with composer:
composer require exolnet/laravel-bust
If you don't use package auto-discovery, add the service provider to the providers array in config/app.php:
Exolnet\Bust\BustServiceProvider::class
And the facade to the facades array in config/app.php:
'Bust' => Exolnet\Bust\BustFacade::class
Usage
You can retrieve an asset's URL containing its version this way:
Bust::asset('example.css'); // Should return example.231.css
Testing
To run the phpUnit tests, please use:
composer test
Contributing
Please see CONTRIBUTING and CODE OF CONDUCT for details.
Security
If you discover any security related issues, please email security@exolnet.com instead of using the issue tracker.
Credits
License
Copyright © eXolnet. All rights reserved.
This code is licensed under the MIT license. Please see the license file for more information.
统计信息
- 总下载量: 1.86k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-07-09