Sydney Loteria
Sydney Loteria

Reputation: 10471

Clear all content of cache folder in Laravel 5.0

I would like to ask how can I clear all the content of cache folder. Cache::flush() is only available in Laravel 5.1 and above but my current application is Laravel 5.0. I don't want to upgrade because I'm afraid to break the current system.

Upvotes: 0

Views: 842

Answers (1)

Can you use command line for delete cache ?

$ php artisan cache:clear

or clear cache by code

Artisan::call('cache:clear');

Upvotes: 1

Related Questions