Please help to install Forms & HTML package

Dear freinds!

I try to install Forms & HTML package

Server Software CentOS release 6.10 (Final)

The file composer.json content is: { "require": { "laravel/installer": "^2.0", "laravelcollective/html": "~5.0" } }

I've run composer require "laravelcollective/html":"^5.4.0"

Screenshot #1

Screenshot #2


 'providers' => [

         * Laravel Framework Service Providers...

'aliases' => [
'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class

But unfortunately I get the meaasge

 (1/1) FatalErrorException

Class 'HTML' not found
in b638bb9d8c16d8ec383069897e1398c1e395f97e.php line 24

Please help!

Thank you beforehand!

Andrew replied 2 months ago

It operate now!

The problem was with the case.

quote here I think it's a case sensitive problem.

If you register it as 'HTML'=> 'Illuminate\Html\HtmlFacade' in app.php, you can't use it as html or Html ( then it will only work when you use HTML).

Alexandru replied 2 months ago

Hei Andrew, why are you using form builder in the first place, there are no real benefits of using it, and if you have to work with a forntend developer he might get scared of it

Andrew replied 2 months ago

Hei Andrew, why are you using form builder in the first place...

Sorry, I am a beginner in Laravel. What do you mean "in the first place"?

jim1506 replied 2 months ago

I have found this form builder rather limited. For example I wanted to populate a select list with a database and marked selected based on criteria. Also I wanted some visual idea. Then we come to baby steps forms and page breaks.

My company have their own form builder which is visual and you can save forms and just cut and paste the code into your view. A little tweaking is necessary (element names) but it is minutes.

If you look at you can see an idea of what it is about.

I am one of the directors of tdbcomputing so go to that site and email the webmaster (me!) and I will give you access if it helps.


Sign in to participate in this thread!

We'd like to thank these amazing companies for supporting us