artisanTinker

3 years ago

nitunga

Best

Code

Artisan::call('route:cache', []);
Artisan::output();

Output

PHP Warning:  unlink(/tmp/.mount_Tinker8Yjxyg/resources/Laravel/8.0/bootstrap/cache/routes-v7.php): Read-only file system in /tmp/.mount_Tinker8Yjxyg/resources/Laravel/8.0/vendor/laravel/framework/src/Illuminate/Filesystem/Filesystem.php on line 270
ErrorException with message 'file_put_contents(/tmp/.mount_Tinker8Yjxyg/resources/Laravel/8.0/bootstrap/cache/routes-v7.php): failed to open stream: Read-only file system'
New course: Desktop apps with Electron