我已经向composer.json添加了“illuminate / html”:“5. *”并运行“composer update”。
- Installing illuminate/html (v5.0.0)
Loading from cache
我在网站的根目录下运行了这个命令。我在/root/.composer ..和项目的根目录中修改了composer.json文件,也没有改变。
This downloaded the class and it seemed to install. I have added the following to config/app.php
'Illuminate\Html\HtmlServiceProvider',
'Form' => 'Illuminate\Html\FormFacade',
'Html' => 'Illuminate\Html\HtmlFacade',
I think i have an idea what is wrong, but i dont know how to fix it. My install is in '/var/www/website'. I have checked the file path and the Html folder does not exist.
"/var/www/website/vendor/laravel/framework/src/Illuminate/Html"
i was able to find the class files but in a different directory.
"/var/www/website/vendor/illuminate/html"
I manually copied the files over to the main laravel illuminate/html folder, but this hasn't worked either.