[英]laravel composer update fail when trying to update illuminate
When i tried to update illuminate like that but failed. 当我试图更新照明,但失败了。
sudo composer.phar require "illuminate/html":"5.0.*"
it showed that error, 它表明错误,
Script php artisan optimize handling the post-update-cmd event returned with an error
Installation failed, reverting ./composer.json to its original content.
[RuntimeException]
Error Output:
please help me. 请帮我。
Illuminate/Html has been deprecated, you can see it here . Illuminate / Html已被弃用,你可以在这里看到它。 Now as the authors of this package said you should use laravelcollective/html
现在这个包的作者说你应该使用laravelcollective / html
composer require laravelcollective/html
Then in config.app in providers array: 然后在providers数组中的config.app中:
Collective\Html\HtmlServiceProvider::class,
And in aliases array in same file: 并且在同一个文件中的别名数组中:
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
Hope this helps. 希望这可以帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.