Forms in Laravel 5.3


To fill up the forms, you need to feel the forms first. Since laravel 5.2.45 this feeling is little bit different. It’s become little bit tricky.
You need to install HTML form builder so that you can use laravel form blade template and it’s really important for security reasons. But, there is a seize. Since laravel 5.2.45 the old trick will not work. You can no longer use ‘composer require illuminate/html’ command to add form builder templates to your project. Instead, you have to issue this command:

sudo composer require laravelcollective/html

It’ll take few minutes for composer to update your system. Next it’ll search for ‘providers’ and ‘aliases’. So you must open ‘Code/test/blog/config/app.php’ file and this line inside ‘providers’ array.

'providers' => [

         * Laravel Framework Service Providers...

Next you must add two lines between the ‘aliases’ array.

'aliases' => [
        'Form' => 'Collective\Html\FormFacade',
        'Html' => 'Collective\Html\HtmlFacade',


Now you’re fully loaded to use the laravel form template.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s