abzudev/laravel-cache-clear
Composer 安装命令:
composer require abzudev/laravel-cache-clear
包简介
Cache clearing route for Laravel
README 文档
README
This Laravel package adds a GET/POST route which can be used to clear an application's cache.
Installation
To install this package simply run:
composer require abzudev/laravel-cache-clear
If you are using Laravel 5.5+ then the package will register itself automatically.
Alternatively, you will need to add the CacheClearServiceProvider to the list of providers in app.php.
To check if the package is installed correctly, simply run:
php artisan route:list
and check that the route exists.
Example:
Usage
Once the package has been successfully installed, you can clear your application's cache
by visiting the url https://yourwebsitesurl.com/cc or doing a POST request to https://yourwebsiteurl.com/cc.
Below are screenshots of what is expected with each method:
GET:
POST:
Testing
Run the tests with:
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security-related issues, please email jeandrew.swart@gmail.com instead of using the issue tracker.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-10-03


