cache forget laravel
/**[SAFE] Clears all cache with 1 line!**/
php artisan route:clear &&
php artisan view:clear &&
php artisan config:clear &&
php artisan cache:clear &&
php artisan clear-compiledCache::put('key', 'value', $seconds);
Cache::rememberForever('users', function () {
return DB::table('users')->get();
});
Cache::get('key');
Cache::has('key');
Cache::pull('key');
Also in PHP:
- codecept run single test
- count rows mysql limit php
- base 64 implementation php
- calculate week from date in php
- array_push in php
- date time format in php
- create new laravel project with specific version
- contains in string php
- echo php dropdown from db and save it in a db
- db seeder laravel 5
- codeigniter db insert return id
- check if key exists in php
- eloquent where in
- check which database connect laravel
- current uri php[
- conteneur d'injection de dépendance php
- PHp and adys to date
- create model, controller and migration in single command laravel
- console rint in php method
- data type php check
- How to fix undefined index: name in PackageManifest.php line 131 error with Composer
- Array of array unique php
- config cache clear laravel
- date i php