lundi 28 août 2017

Laravel 5 how to clear cache using composer,json

i am new in laravel . i will trying to clear view cache. i need to clear view cache without composer.

is possible to clear cache using composer.json auto load.

i have already tried this code but not working in my

routes.php

Route::get('/view-clear', function() {
    $exitCode = Artisan::call('view:clear');
    return '<h1>View cache cleared</h1>';
});

and how to use

Cache::flush();

in my code controller.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2vCD9hM
via IFTTT

Aucun commentaire:

Enregistrer un commentaire