定制 abzudev/laravel-cache-clear 二次开发

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

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

abzudev/laravel-cache-clear

Composer 安装命令:

composer require abzudev/laravel-cache-clear

包简介

Cache clearing route for Laravel

README 文档

README

Latest Stable Version MIT Licensed Build Status StyleCI Total Downloads

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:

Application route list

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:

GET request example

POST:

POST request example

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-03

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固