Pre-conditions : you should have a Laravel project up and running ( composer, php, environments... )
Locate your
project's composer.json file and edit it to require
laravelcollective/html such :
“require”:{
“laravelcollective/html”:
“5.2.*”
}
Then install and
update your composer with 2 terminal command respectively :
composer install
composer update
Next locate your
config/app.php and add this :
'providers' => [
//..
Collective\Html\HtmlServiceProvider::class;
//…
],
And then within the
same class, please add 2 class aliases to aliases array :
'aliases' => [
//.
'Form' =>
Collective\Html\FormFacade::class,
'Html' =>
Collective\Html\HtmlFacade::class,
//.
],
After doing so, you
can use Laravel Collective class helper like Form.
• Nice and good article. It is very useful for me to learn and understand easily. Thanks for sharing your valuable information and time. Please keep updatingAzure Online course Bangalore
ReplyDeleteThe Blog is really very impressive. every content should be very neatly represented.
ReplyDeleteMicrosoft Windows Azure Training in Chennai | Certification | Online Training Course | Microsoft Windows Azure Training in Bangalore | Certification | Online Training Course | Microsoft Windows Azure Training in Hyderabad | Certification | Online Training Course | Microsoft Windows Azure Training in Online | Certification | Online Training Course