abzudev/laravel-emails

Blade friendly email syntax for Laravel

Downloads

1

Stars

0

Version

A Laravel route to clear application cache

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 [email protected] instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.

abzudev

Author

abzudev