I’m doing a Laravel project, and i want to do crud database on the php command line
i do php artisan tinker
on mu vscode laravel project, and then I got an error message that sounds
ErrorException
Writing to directory /.config/psysh is not allowed.
at vendor/psy/psysh/src/ConfigPaths.php:327
323▕ @mkdir($dir, 0700, true);
324▕ }
325▕
326▕ if (!is_dir($dir) || !is_writable($dir)) {
➜ 327▕ trigger_error(sprintf('Writing to directory %s is not allowed.', $dir), E_USER_NOTICE);
328▕
329▕ return false;
330▕ }
331▕
how can i fixed this problem?
I’m expecting I can edit/change the database using commandline php artisan tinker
5