Support the ongoing development of Laravel.io →
posted 8 years ago
Forms
Last updated 1 year ago.
0

The Form and HTML facades have been removed in laravel 5, but are available in the illuminate\html package.

https://github.com/illuminate/html

You can install this package via composer

https://packagist.org/packages/illuminate/html.

Don't forget to add the service provider in your config file
'Illuminate\Html\HtmlServiceProvider',

You also have to add aliases for your the facades.


'HTML'		=> 'Illuminate\Html\HtmlFacade',
'Form'		=> 'Illuminate\Html\FormFacade',

Now you have the Form and HTML classes available.

There are a lot of helper classes https://github.com/illuminate/support/blob/master/helpers.php

0

Yes I know they have been removed but why? Does that mean there is a better way to generate form?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

LonnyX lonnyx Joined 30 Mar 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.

© 2024 Laravel.io - All rights reserved.