更新时间:2023-02-22 22:42:47
Laravel Tinker
为了继续使用tinker Artisan命令,您还应该安装laravel/tinker软件包:
In order to continue using the tinker Artisan command, you should also install the laravel/tinker package:
composer require laravel/tinker
一旦安装了软件包,您应该将Laravel\Tinker\TinkerServiceProvider::class
添加到config/app.php配置文件中的providers数组中.
Once the package has been installed, you should add Laravel\Tinker\TinkerServiceProvider::class
to the providers array in your config/app.php configuration file.