如何安装Laravel Passport没有报错就是下面这个

How to install Laravel Passport with no error that is the following one

我正在尝试在 Laravel 中安装 Passport。我完全按照所有指南进行操作,但遇到了这个问题

我已经输入了app.php以下内容

我尝试按照此处关于类似问题的建议但没有解决,我尝试使用 composer dump-autoload。 ECC。有什么帮助吗?

运行 composer dump-autoload
然后运行php artisan serve

composer dump-autoload won’t download a thing. It just regenerates the list of all classes that need to be included in the project (autoload_classmap.php). Ideal for when you have a new class inside your project.