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

I am new to laravel 5. In L5 there is no Illuminate/Html in the core instalation. So I put that in my composer:

    "require": {
    "laravel/framework": "~5.0",
    "illuminate/html": "5.0."
},

And 'Illuminate\Html\HtmlServiceProvider', //in composer's provider's section

And
'Form' => 'Collective\Html\FormFacade', 'Html' => 'Collective\Html\HtmlFacade', //in composer's aliases section

And than I tested in my view:

{{ Form::open(array('action' => 'UsersController@postL')) }}

{{ Form::text('name', @$name) }}

{{ Form::password('password') }}

{{ Form::submit('Send') }}

{{ Form::close() }}

plz help ..

Last updated 2 years ago.
0

not sure if you got it right but both "'Illuminate\Html\HtmlServiceProvider'" and facades should be in config/app.php

0

This should be really helpful. Go through this video, its for LARAVEL 5 and shows how to install HTML FORM FACADE and how to use it clearly.

https://laracasts.com/series/laravel-5-fundamentals/episodes/10

Let us know whether you are good after using this. Happy Coding :)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

itzraghu itzraghu Joined 16 Jul 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.