By default in Laravel 5, Html and Form are not embedded anymore, And we’re going to add them back.

illuminate/html

01 – 1. Option one.

 

In require section within composer.json add this line:

So you require section will be something like this:

then run composer update from your terminal.


01 – 2. Option two.

 

In your terminal, navigate to you project root (where you can see composer.json file), and type this line

hit enter and wait just few seconds to download the package.


02. Register service provider for the new added classes.

 

Open config/app.php, in providers array add this value:

in aliases array (within the same file) add this values:

Now you can use Html::styles, Form::open() and all available methods related to them.