【问题标题】:How to install infyOm into laravel?如何将 infyOm 安装到 laravel 中?
【发布时间】:2016-11-15 16:35:28
【问题描述】:

我已按照http://labs.infyom.com/laravelgenerator/docs/master/installation 的指南进行操作,但在运行 cmd 命令 php artisan vendor:publish 时出现错误。

我收到一个错误提示“[Symfony\Component\Debug\Exception\FatalErrorException] Class 'Collective\Html\HtmlServiceProvider' not found.

【问题讨论】:

标签: php laravel model-view-controller


【解决方案1】:

检查您的composer.json 文件,文件中应包含以下内容:

"require": { 
    "infyomlabs/laravel-generator": "dev-master",
    "laravelcollective/html": "5.2.*",
    "infyomlabs/core-templates": "dev-master" 
 }

然后运行composer update。问题在于您的 laravelcollective/html 部分在您的 composer.json 文件中。

【讨论】:

猜你喜欢
  • 2017-04-28
  • 2017-04-18
  • 1970-01-01
  • 2017-01-14
  • 2015-03-21
  • 1970-01-01
  • 1970-01-01
  • 2019-08-30
  • 1970-01-01
相关资源
最近更新 更多