cache store 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:
- date_format timeformat php
- datetime manual date format
- convert date to timestamp in php
- check text in string php
- current uri php[
- composer update php mbstring.so missing
- check key in an array
- check if astring is apart of another string in php
- date('d/m/Y H:i:s') now
- How can I prevent SQL injection in PHP?
- add date days php
- Uncaught RuntimeException: Extension DOM is required
- check if key of array key true or false php
- Carbon\Traits\Units.php:69
- HTML form, add the data into it and submit it to the database by connecting it to MySQL database using PHP.
- Auth::user() id
- check if string container string php
- Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages: error:
- check if array is duplicate and get the latest values php
- find out type of in php
- delete duplicate values from array php
- Write a PHP script to generate simple random passwords [do not use rand() function] from a given string. Sample string : '1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcefghijklmnopqrstuvwxyz' Note : Password length may be 6, 7, 8 etc.
- clear date formatting php
- assign php array into javascript