clear cache in laravel without artisan
Route::get('/clear-cache', function() {
$exitCode = Artisan::call('cache:clear');
return 'Application cache cleared';
});
Route::get('/route-cache', function() {
$exitCode = Artisan::call('route:cache');
return 'Routes cache cleared';
});
Also in PHP:
- error reporting 0 in php
- catch an exception php
- ci db query error
- dropdown in crud application YII
- date function plus 1 day php
- cache clear in laravel live server
- add days with dates php
- class php
- catch error php
- error reporting off
- day of week count in php
- create new directory php
- Allowed memory size of 134217728 bytes exhausted (tried to allocate 157 bytes) in C:\wamp64\scripts\refresh.php on line 2263
- Installation request for pokemon-tcg/pokemon-tcg-sdk-php ^1.2 -> satisfiable by pokemon-tcg/pokemon-tcg-sdk-php[1.2.0]
- curl php
- check if string contains letter php
- database seeder laravel 8
- enable errors in php
- create array and remove duplicates php
- <?php trim($_POST["data"]); ?>
- array_merge() does not accept unknown named parameters laravel
- count string char php
- $data length in php
- find location from an ip address PHP