Support the ongoing development of Laravel.io →
Installation Views Forms
Last updated 2 years ago.
0

Illuminate/HTML package has been deprecated

Do this:

In cmd run command:

composer require laravelcollective/html

In your composer.json file in "require" group should be added this line:

"laravelcollective/html": "5.2.*"

Update composer with command:

composer update

In config/app.php add this lines:

in providers group:

Collective\Html\HtmlServiceProvider::class,

in aliases group:

'Form' => Collective\Html\FormFacade::class,
'Html' => Collective\Html\HtmlFacade::class,
Last updated 8 years ago.
0

mirbatworks said:

Illuminate/HTML package has been deprecated

Do this:

Thank you so much for this info. Just in time to fix it.

0

mirbatworks said:

Illuminate/HTML package has been deprecated

Do this:

I'm using Laravel v5.2 and have followed mirbatworks instructions (3x), but it is throwing errors:

Browser: FatalErrorException in ProviderRepository.php line 119: Call to undefined method Collective\Html\FormFacade::isDeferred()

Artisan: [Symfony\Component\Debug\Exception\FatalErrorException] Call to undefined method Collective\Html\FormFacade::isDeferred()

Also tried 5.2.*-dev, but get the same errors.

What have I missed? Help!

Last updated 8 years ago.
0

Unless something just broke in the last day, just follow the instructions on the package's website. No need for any 3rd party tutorials. Always go to the package's github or website first.

LaravelCollective HTML

and Illuminate\Html has been deprecated for a long time.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

jcamilo93 jcamilo93 Joined 27 Dec 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.

© 2024 Laravel.io - All rights reserved.