我正在尝试基于laravel实现CRM的Gmail,用户可以存储多个Google凭证,并且使用这些凭据用户可以登录他们的Google帐户。我使用了,但对于默认设计的dacastro4/laravel-gmail包,这些谷歌凭证存储在laravel项目的.env文件中。.envGOOGLE_CLIENT_ID=
GO
这是我的控制器: As seen in the screenshot,the class exists and is in the correct place: My api.php routegave me the following error: Target class [Api\RegisterController] does not exist. ---- Update: Thanks的答案我决定对此路由使用完全限定的类名,但还有答案中描述的其他选项