79799377

Date: 2025-10-25 07:44:54
Score: 0.5
Natty:
Report link

laravelcollective/html has not been updated for Laravel 11, but there’s a community-maintained fork that continues support for the latest Laravel versions.

You can safely use:

"rdx/laravelcollective-html": "^6.7"

This package is a drop-in replacement for the original laravelcollective/html package and fully supports Laravel 11+.

Installation

composer require rdx/laravelcollective-html

Usage

You don’t need to change your existing code. The namespace and aliases remain the same:

In config/app.php:

'providers' => [
    Collective\Html\HtmlServiceProvider::class,
],

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

In your Blade files:

{!! Form::open(['route' => 'users.store']) !!}
    {!! Form::label('name', 'Name:') !!}
    {!! Form::text('name') !!}
{!! Form::close() !!}

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dark knight