News

Laravel Collective HTML package is abandoned

Published
Laravel Collective HTML package is abandoned image

The Laravel Collective recently announced that they are abandoning the project, and once Laravel 11 is out, it'll no longer work.

Most of the Collective packages have alternatives still actively maintained and one of the most popular ones is the HTML package that includes all sorts of helpers for dealing with common things all sites need, such as forms and form fields.

If you've been using the laravelcollective/html package, its now time to update it and move to the spatie/laravel-html package.

This will be a manual conversion because although the packages are similar, both APIs differ. If you are using it in a few places, it would be easiest to convert to raw HTML.

However, if you use it substantially Laravel Shift has an automatic conversion to migrate to Spatie HTML which can save your hours of work.

To sum it up:

  • Laravel Collective HTML will no longer work when Laravel 11 is released.
  • Consider switching to raw HTML or the Spatie HTML package
  • If you want to automate the upgrade, use Shift.
Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Filed in

Sponsored

acquaintsoft logo
Acquaint Softtech

Hire Laravel developers with AI expertise at $20/hr. Get started in 48 hours.

Visit Acquaint Softtech

The latest

View all →
Laravel AI SDK 1.4 Lets Agents Recover From Tool Failures image

Laravel AI SDK 1.4 Lets Agents Recover From Tool Failures

Read article
Laravel Read Replicas: Check if a Replica Has Caught Up image

Laravel Read Replicas: Check if a Replica Has Caught Up

Read article
UUID Request Input and Migration Failure Events in Laravel 13.42 image

UUID Request Input and Migration Failure Events in Laravel 13.42

Read article
Replay Missed Laravel Scheduled Tasks With Schedule Catchup image

Replay Missed Laravel Scheduled Tasks With Schedule Catchup

Read article
Search Polymorphic Relations and Filament Tables With Laravel Searchable image

Search Polymorphic Relations and Filament Tables With Laravel Searchable

Read article
Laravel Rest Api 3.0: Typed Fields, Metrics, and OpenAPI Docs image

Laravel Rest Api 3.0: Typed Fields, Metrics, and OpenAPI Docs

Read article