LaravelCollective / html

HTML and Form Builders for the Laravel Framework
MIT License
3.99k stars 782 forks source link

Laravel 11 Compatible Fork Is Here [INFO] #773

Open fulopattila122 opened 6 months ago

fulopattila122 commented 6 months ago

If anyone else like me is willing to win a few more months before replacing this package :laughing: here's a drop-in replacement fork:

https://github.com/artkonekt/html

It supports Laravel 10 & 11; PHP 8.1 - 8.3. Other than that, the package, including the namespaces is unchanged.

Running this:

composer require konekt/html:^6.5

will replace the package and tell composer that it replaces laravelcollective/html which means the transition is seamless:

image

No further code changes are necessary.

decadence commented 5 months ago

Thanks. Added a star to that repository. Hope it will be maintained.

fulopattila122 commented 5 months ago

Thanks. Added a star to that repository. Hope it will be maintained.

We've got quite a lot built on top of it, so the Laravel and PHP compatibility will be kept up to date.

dramamask commented 4 months ago

@fulopattila122 I'd be great is you could also allow phpunit 11. Laravel 11 uses phpunit 11.

fulopattila122 commented 4 months ago

@fulopattila122 I'd be great is you could also allow phpunit 11. Laravel 11 uses phpunit 11.

Laravel 11 internally allows either PHPUnit v10 or v11 see: https://github.com/laravel/framework/blob/11.x/composer.json#L112 so if you submit a PR, please keep both versions. Thx!

rtconner commented 3 months ago

Yeah I wish developers would learn from this.

If you are going to deprecate a package, be kind and modify the composer "require" to be as forgiving as possible.

lorvent commented 1 day ago

@fulopattila122 please enable issues in your repo aswell so people can post any issues they are facing. basically a medium to exchange ideas, problems with you.