PHPackages                             abzudev/laravel-cache-clear - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. abzudev/laravel-cache-clear

ActiveLibrary[Caching](/categories/caching)

abzudev/laravel-cache-clear
===========================

Cache clearing route for Laravel

0.0.1(6y ago)226[1 issues](https://github.com/abzudev/laravel-cache-clear/issues)MITPHPPHP &gt;=5.5.9CI failing

Since Oct 7Pushed 6y ago1 watchersCompare

[ Source](https://github.com/abzudev/laravel-cache-clear)[ Packagist](https://packagist.org/packages/abzudev/laravel-cache-clear)[ RSS](/packages/abzudev-laravel-cache-clear/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (2)Used By (0)

A Laravel route to clear application cache
==========================================

[](#a-laravel-route-to-clear-application-cache)

[![Latest Stable Version](https://camo.githubusercontent.com/c6586180ec0ff790f755cb8427f6360394e5178bfa6487b4e258216c84546c67/68747470733a2f2f706f7365722e707567782e6f72672f61627a756465762f6c61726176656c2d63616368652d636c6561722f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/abzudev/laravel-cache-clear)[![MIT Licensed](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/7f24075716e03d14c5830fb3a935de30abf6df102f16ac09b63b404b807a09ac/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f61627a756465762f6c61726176656c2d63616368652d636c6561722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/abzudev/laravel-cache-clear)[![StyleCI](https://camo.githubusercontent.com/931d834dc44ea7c737ae26ceeb3d94e5de35b5cbdc9876f6ffd9a72d09fdccc4/68747470733a2f2f7374796c6563692e696f2f7265706f732f3231323534383334302f736869656c64)](https://styleci.io/repos/212548340)[![Total Downloads](https://camo.githubusercontent.com/be7367bee11907a49d87a5c9675b7c29ab53a27aa96c28cd5c7d119e753155b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61627a756465762f6c61726176656c2d63616368652d636c6561722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/abzudev/laravel-cache-clear)

This Laravel package adds a GET/POST route which can be used to clear an application's cache.

Installation
------------

[](#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](https://raw.githubusercontent.com/abzudev/laravel-cache-clear/master/screenshots/routelist.jpg)](https://raw.githubusercontent.com/abzudev/laravel-cache-clear/master/screenshots/routelist.jpg)

Usage
-----

[](#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](https://raw.githubusercontent.com/abzudev/laravel-cache-clear/master/screenshots/GET.jpg)](https://raw.githubusercontent.com/abzudev/laravel-cache-clear/master/screenshots/GET.jpg)

POST:

[![POST request example](https://raw.githubusercontent.com/abzudev/laravel-cache-clear/master/screenshots/POST.jpg)](https://raw.githubusercontent.com/abzudev/laravel-cache-clear/master/screenshots/POST.jpg)

Testing
-------

[](#testing)

Run the tests with:

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2408d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f0a17fa84c8819f165672f3618b335ecbdab7ff4815523d134841e73ceb47766?d=identicon)[abzudev](/maintainers/abzudev)

---

Top Contributors

[![qLutCh55](https://avatars.githubusercontent.com/u/26224124?v=4)](https://github.com/qLutCh55 "qLutCh55 (10 commits)")[![abzudev](https://avatars.githubusercontent.com/u/48203684?v=4)](https://github.com/abzudev "abzudev (4 commits)")[![MrMoonbag](https://avatars.githubusercontent.com/u/46529598?v=4)](https://github.com/MrMoonbag "MrMoonbag (1 commits)")

---

Tags

laravelclear cache route

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/abzudev-laravel-cache-clear/health.svg)

```
[![Health](https://phpackages.com/badges/abzudev-laravel-cache-clear/health.svg)](https://phpackages.com/packages/abzudev-laravel-cache-clear)
```

###  Alternatives

[awssat/laravel-visits

Laravel Redis visits counter for Eloquent models

975163.6k2](/packages/awssat-laravel-visits)[swayok/alternative-laravel-cache

Replacements for Laravel's redis and file cache stores that properly implement tagging idea. Powered by cache pool implementations provided by http://www.php-cache.com/

202541.1k6](/packages/swayok-alternative-laravel-cache)[ryangjchandler/blade-cache-directive

Cache chunks of your Blade markup with ease.

202200.8k2](/packages/ryangjchandler-blade-cache-directive)[encore/redis-manager

Redis manager for laravel

25243.1k](/packages/encore-redis-manager)[alexmg86/laravel-sub-query

Laravel subquery

7538.4k](/packages/alexmg86-laravel-sub-query)[dragon-code/laravel-cache

An improved interface for working with cache

6844.8k10](/packages/dragon-code-laravel-cache)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
