When you run php artisan tinker on your shell/command prompt you often/rarely get this error but this can cause because of composer.
so close your opened tinker and run:
composer dump-autoload
and again run php artisan tinker and create your data.
so close your opened tinker and run:
composer dump-autoload
and again run php artisan tinker and create your data.
Comments
Post a Comment