enable the cache mechanisms laravel
php artisan cache:clearCache::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:
- event rightclick mouse
- Malformed UTF-8 characters, possibly incorrectly encoded
- br php
- check if array key is empty php
- @ watch: `cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --watch --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
- 'https://', 'www.' & all sub derictories reomve from a url with regex
- data seeder in laravel
- Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in phar://D:/Program Files/Composer - PHP/composer.phar/src/Composer/DependencyResolver/Solver.php on line 223
- calculate string length php
- current date time in php
- date format php h
- clear cache swr
- client_ip() function php
- Shorten long numbers to K/M/B?
- check character present in sentence in phph
- artisan composer install
- add object in array php
- datetime php difference in days
- create new file in folder php
- activity log spatie
- ahow php errors
- count variable lenth in php
- echo errors of php
- create a user using factory laravel