按照官方教程学习Laravel Passort 的使用,遇到错误:In AuthServiceProvider.php line 26 : Class 'AppProvidersPassport' not found,原因是没有引用Laravel Passport,解决办法如下:
在 AuthServiceProvider 中添加代码:
use LaravelPassportPassport;
声明:本文为原创文章,版权归主机之家测评所有,欢迎分享本文,转载请保留出处!
你可能也喜欢
- ♥ Laravel Passport unsupported_grant_type 的错误解决办法07/07
- ♥ Laravel Passport invalid_client 错误的解决办法07/07
- ♥ 宝塔面板部署 Laravel 提示:The Process class relies on proc_open, which is not available on your PHP installation.07/06
- ♥ Laravel 提示 Warning: No such file or directory in D:WWWXXXvendorcomposerautoload_real.php 错误07/06
- ♥ Laravel 6 自定义 auth logout 后的跳转链接07/06
- ♥ 独角数卡:发卡程序,开源,基于 Laravel06/08