Closed Zen0x7 closed 3 years ago
Read eval print loop is cool
But sometimes you need run commands without repl.
Like
php artisan tinker App\Models\User::create(8);
I don't know if this feature exists.
Good luck.
php artisan tinker --execute="App\Models\User::create(8);"
Read eval print loop is cool
But sometimes you need run commands without repl.
Like
I don't know if this feature exists.
Good luck.