我正在尝试使用 official docs 在 Laravel 应用程序上实现提醒/重置密码
运行步骤:
php artisan auth:reminders
我收到错误:
[InvalidArgumentException]
There are no commands defined in the "auth" namespace.
有谁知道如何正确配置它吗?
最佳答案
您的/config/app/config.php 可能缺少提醒服务提供程序。将其添加到您的提供商数组中。
'providers' => array(
...
'Illuminate\Auth\Reminders\ReminderServiceProvider',
....
)
关于php - Laravel 上的 auth 命名空间中没有定义命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26171831/