Support the ongoing development of Laravel.io →
Installation Configuration Forms

Hi,

I am following laracasts: https://laracasts.com/series/laravel-5-fundamentals/episodes/1 and I have one problem when I am installing Illuminate/Html to have access to Form and Html class.

When I type:

composer require Illuminate/Html

the package is installing and it seems it's all good, but when I try to run laravel, any page I see this error:

file_put_contents(/var/www/html/blog/vendor/services.json): failed to open stream: Permission denied

I don't know, what I am doing wrong.

Last updated 3 years ago.
0

Have you added Illuminate\Html\HtmlServiceProvider to config/app.php?

0

Yes, I have added this. It's still nothing.

It's kinda interesting, because earlier I was able to use this Form class. There was no problem with this. Just yesterday I tried to download package from composer and boom, nothing's working -,-

0

@c00perpl. We are the same problem but I fixed it a while ago. Just type in

sudo composer require illuminate/html

if you're using Mac or Linux :) Just message here if you have any question

0

Sign in to participate in this thread!

Eventy

Your banner here too?

c00perpl c00perpl Joined 3 May 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.