Answers for "laravel new route command"

0

execute artisan command from route

Route::get('clear_cache', function () {

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

    dd("Cache is cleared");

});
Posted by: Guest on May-11-2021
1

artisan in route in laravel

Artisan::call('cache:clear')
Posted by: Guest on May-11-2021
0

how to create route in laravel

Route::match(['get', 'post'], '/', function () {
    //
});
Posted by: Guest on May-13-2021

Code answers related to "laravel new route command"

Browse Popular Code Answers by Language