Fastest Web Hosting

using html form helpers in laravel 5

0 votes
asked Nov 4, 2016 in Laravel by punnet (400 points)

What is the right way to use the classes HTML and FORM, from illuminate of Laravel 4 in Laravel 5?

In Laravel 4 I can use like this:

{{ Form::open(array('url' => 'foo/bar')) }}
    // Anything
{{ Form::close() }}

I can add inputs as follows:

{{ Form::text('username'); }}
{{ Form::text('email', 'example@gmail.com'); }}
{{ Form::password('password'); }}
{{ Form::email($name, $value = null, $attributes = array()); }}
{{ Form::file($name, $attributes = array()); }}

How could I do the same thing in Laravel 5?

Your answer

Preview

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

Job Board

TechnicalSharp is a technical community of developers where they are sharing their knowledge and solutions and against it they are getting the score point which help them to make profile strong which is under eyes on MNC's
...