From faf946a5d87fb439c03b6543d2c4a4e5cd228c09 Mon Sep 17 00:00:00 2001 From: Ariful Date: Wed, 18 Sep 2024 11:33:43 +0600 Subject: [PATCH 1/2] added support for laravel 10 && Laravel 11 --- composer.json | 23 +++++++++++------------ readme.md | 7 +++++-- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/composer.json b/composer.json index 69adfb4..1341971 100755 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { - "name": "laravelcollective/html", - "description": "HTML and Form Builders for the Laravel Framework", + "name": "xenon/collective", + "description": "HTML and Form Builders for the Laravel Framework extends from Laravel Collective", "license": "MIT", "homepage": "https://laravelcollective.com", "support": { @@ -18,17 +18,17 @@ } ], "require": { - "php": ">=7.2.5", - "illuminate/http": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/routing": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/session": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/support": "^6.0|^7.0|^8.0|^9.0|^10.0", - "illuminate/view": "^6.0|^7.0|^8.0|^9.0|^10.0" + "php": "^8.1", + "illuminate/http": "^10.0|^11.0", + "illuminate/routing": "^10.0|^11.0", + "illuminate/session": "^10.0|^11.0", + "illuminate/support": "^10.0|^11.0", + "illuminate/view": "^10.0|^11.0" }, "require-dev": { - "illuminate/database": "^6.0|^7.0|^8.0|^9.0|^10.0", - "mockery/mockery": "~1.0", - "phpunit/phpunit": "~8.5|^9.5.10" + "illuminate/database": "^10.0|^11.0", + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^10.0" }, "autoload": { "psr-4": { @@ -53,6 +53,5 @@ } }, "minimum-stability": "dev", - "abandoned": "spatie/laravel-html", "prefer-stable": true } diff --git a/readme.md b/readme.md index b054d0c..bb95f26 100644 --- a/readme.md +++ b/readme.md @@ -8,5 +8,8 @@ Official documentation for Forms & Html for The Laravel Framework can be found at the [LaravelCollective](https://laravelcollective.com/docs) website. -## Replacement -If you're looking to replace this package due to it's retirement we recommend using [Shift](https://laravelshift.com/convert-laravelcollective-html-to-spatie-laravel-html) +### Some projects still use Laravelcollective/Html. This package is a fork of official laravelcollctive/html to support laravel 10 and 11. +## Installation +`composer require xenon/collective` + +### class and other files are still same as before; no changes From 719d3a932d4e67368648fbbfec9507ae9c9c78af Mon Sep 17 00:00:00 2001 From: Ariful Islam Date: Wed, 18 Sep 2024 18:39:35 +0600 Subject: [PATCH 2/2] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1341971..d4652f7 100755 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "xenon/collective", + "name": "xenon/laravelhtml-collective", "description": "HTML and Form Builders for the Laravel Framework extends from Laravel Collective", "license": "MIT", "homepage": "https://laravelcollective.com",