Two day ago i installed new version on laravel 5.5 and trying to coding. i was making form using form builder as i have haibbit to work on laravel 5.4 version. But i used Form class of laravelcollective i got following error on when i run project "class 'form' not found" but i had before this error. So i found how to solve it.
So you have to install laravelcollective/html composer package for form class So you have to follow bellow command to install laravelcollective/html package in your laravel 5.5 application. So let's run bellow command:
Install Command:
composer require "laravelcollective/html":"^5.5"
After install you have to add providers and aliases in config/app.php file, so let' follow bellow file how to add.
config/app.php
<?php
'providers' => [
// ...
Collective\Html\HtmlServiceProvider::class,
// ...
],
'aliases' => [
// ...
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
// ...
],
After added above providers, you have to check on your project.
I hope you found your solution.
Do you like below Tutorials ?
- Angular Json Pipe Example | Json Pipe in Angular 9/8/7
- Angular Slice Pipe Example | Slice Pipe in Angular 9/8/7
- Angular Uppercase Pipe Example | Uppercase Pipe in Angular 9/8/7
- Angular LowerCase Pipe Example | LowerCase Pipe in Angular 9/8/7
- Angular Titlecase Pipe Example | Titlecase Pipe in Angular 9/8/7
- Angular KeyValue Pipe Example | KeyValue Pipe in Angular 9/8/7
- Call Method from One Component to Another Component in Angular
- Angular Push Object into Array Example