From e597b9f3637a025f8a7c384d3fdbb7c868f3a3af Mon Sep 17 00:00:00 2001 From: MohamadReza Mokhtari Date: Sat, 13 Jul 2024 10:14:32 +0330 Subject: [PATCH 1/2] Support for Laravel 9.* and 10.* --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 0d663aa..9f49fb5 100644 --- a/composer.json +++ b/composer.json @@ -15,12 +15,12 @@ } ], "require": { - "php": ">=7.0", - "illuminate/support": "~5.0|^6.0|^7.0|^8.0", - "illuminate/session": "~5.0|^6.0|^7.0|^8.0" + "php": ">=7.0|^8.0", + "illuminate/support": "~5.0|^6.0|^7.0|^8.0|^9.0|^10.0", + "illuminate/session": "~5.0|^6.0|^7.0|^8.0|^9.0|^10.0" }, "require-dev": { - "phpunit/phpunit": "^7.0", + "phpunit/phpunit": "^7.0|^8.0|^9.0|^9.0", "mockery/mockery": "^1.0", "friendsofphp/php-cs-fixer": "^2.16" }, From 4cb3b340b9b7f18a83dc85cc3688a66835a5a728 Mon Sep 17 00:00:00 2001 From: MohamadReza Mokhtari Date: Sat, 13 Jul 2024 10:19:27 +0330 Subject: [PATCH 2/2] Support for Laravel 9.* and 10.* --- README.md | 6 +++++- composer.json | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f28416e..a23f8df 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,16 @@ [![StyleCI](https://styleci.io/repos/38935942/shield)](https://styleci.io/repos/38935942) [![Total Downloads](https://img.shields.io/packagist/dt/uxweb/sweet-alert.svg?style=flat-square)](https://packagist.org/packages/uxweb/sweet-alert) +## Introduction + +This package is a fork of [uxweb/sweet-alert](https://github.com/uxweb/sweet-alert). We have added updates specifically for Laravel 9 and 10 compatibility. All rights and credits belong to the original package [uxweb/sweet-alert](https://github.com/uxweb/sweet-alert). + ## Installation Require the package using Composer. ```bash -composer require uxweb/sweet-alert +composer require mr-mokhtari/sweet-alert ``` If using laravel < 5.5 include the service provider and alias within `config/app.php`. diff --git a/composer.json b/composer.json index 9f49fb5..31f2b7e 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "uxweb/sweet-alert", + "name": "mr-mokhtari/sweet-alert", "description": "A simple PHP package to show Sweet Alerts with the Laravel Framework", "keywords": [ "laravel",