2016-10-22 6 views
0

スクリプトPHPの職人の最適化は、エラーコードを返さ私はLaravel 5.3のアプリで点灯/ HTMLをインストールしようとしている255

$ composer require "illuminate/html":"5.0.*" 
./composer.json has been updated 
Loading composer repositories with package information 
Updating dependencies (including require-dev) 
Nothing to install or update 
Package illuminate/html is abandoned, you should avoid using it. Use laravelcollective/html instead. 
Writing lock file 
Generating autoload files 
> Illuminate\Foundation\ComposerScripts::postUpdate 
> php artisan optimize 
PHP Fatal error: Call to undefined method Illuminate\Foundation\Application::bindShared() in /var/www/qa-laravel/vendor/illuminate/html/HtmlServiceProvider.php on line 36 


    [Symfony\Component\Debug\Exception\FatalErrorException]     
    Call to undefined method Illuminate\Foundation\Application::bindShared() 


Script php artisan optimize handling the post-update-cmd event returned with error code 255 

Installation failed, reverting ./composer.json to its original content. 

は、私は、もしベンダーのパスを変更しました

{ 
    ... 
    "config": { 
     "preferred-install": "dist", 
     "vendor-dir": "../vendor" 
    } 
} 

クラスはOKロードされている、私はちょうどこの新しいパッケージをインストールすることはできません。composer.jsonに間違って行くために何かをもたらしました。このエラーの明白な理由は何ですか?

答えて

0

このパッケージはLaravel 5.3と互換性がありません。 ->bindShared()関数は5.1から削除され、現在は->singleton()です。

さらに、フォームヘルパーパッケージが理由で削除されました。それは時間を節約せず、必要でない複雑さをもたらす。それを使用する目的はありません。それを除く。

関連する問題