简体   繁体   English

Laravel不会加载课程

[英]Laravel won't load class

I'm trying to use the following library, this . 我正在尝试使用以下库this It all seems pretty use but doesn't seem to work for me. 一切似乎都很有用,但似乎不适用于我。 I've added the stuff the the composer.json and I also updated the app.php. 我已经添加了composer.json之类的东西,并且还更新了app.php。 Then I ran composer dump-autoload in the laravel directory. 然后,我在laravel目录中运行了composer dump-autoload

I still seem to be getting the same error.. 我似乎仍然收到相同的错误。

FatalErrorException in ProviderRepository.php line 146:
Class 'Invisnik\LaravelSteamAuth\SteamServiceProvider' not found

Try to install this package by this command: 尝试通过以下命令安装此软件包:

composer require invisnik/laravel-steam-auth

You will install the latest version of current package and update your composer.json , composer.lock and autoload files. 您将安装当前软件包的最新版本,并更新您的composer.jsoncomposer.lock自动加载文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM