From 41fe6bf4c2879a7e4a9dcbfe33d13547a39add9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yunus=20Emre=20Delig=C3=B6z?= Date: Thu, 8 Oct 2020 07:57:20 +0300 Subject: [PATCH] Upgrade packages for Laravel 8 --- CHANGELOG.md | 22 +++++++++++++--------- README.md | 7 +++++-- composer.json | 14 +++++++------- phpunit.xml.dist | 46 +++++++++++++++++++--------------------------- 4 files changed, 44 insertions(+), 45 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cf85b0..11c3a52 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,31 +4,35 @@ All notable changes to `netgsm` will be documented in this file ## Unreleased +## [3.0.1] - 2020-10-08 + +- Upgrade packages for Laravel 8. +- Migrate phpunit config. ## [3.0.0] - 2020-10-06 -- 2020-10-06: Laravel netgsm now compatible with Laravel 8. +- Laravel Netgsm package now compatible with Laravel 8. ## 2.1.1 - 2020-03-05 -- "vendor:publish" section in the documentation has been fixed. -- error code descriptions fixed for balance service +- `vendor:publish` section in the documentation has been fixed. +- Error code descriptions fixed for balance service ## 2.1.0 - 2020-03-04 -- added an exception for unhandled netgsm error codes. +- Added an exception for unhandled Netgsm error codes. - Laravel 7 support added. ## 2.0.0 - 2020-03-02 -- namespaces and folder structure changed -- available credit and packages service added -- tests updated +- Namespaces and folder structure changed +- Available credit and packages service added +- Tests updated ## 1.0.1 - 2020-02-17 -- default sms sending method changed to get +- Default SMS sending method changed to `get` ## 1.0.0 - 2020-02-17 -- initial release +- Initial release diff --git a/README.md b/README.md index 222a988..6a954b9 100755 --- a/README.md +++ b/README.md @@ -6,8 +6,11 @@ [![Total Downloads](https://img.shields.io/packagist/dt/tarfin-labs/netgsm.svg?style=flat-square)](https://packagist.org/packages/tarfin-labs/netgsm) ## Introduction -With this package, you can send easily [Netgsm notifications](https://www.netgsm.com.tr/dokuman/#api-dok%C3%BCman%C4%B1) with Laravel 6.x, 7.x. -Also, this package provides simple reporting. +With this package, you can send easily [Netgsm notifications](https://www.netgsm.com.tr/dokuman/#api-dok%C3%BCman%C4%B1) with Laravel `^8.0`. +This package also provides some simple reporting. + +> This package requires PHP 7.3 and Laravel `8.0` or higher. +> For older versions of Laravel, please use version `^2.0.0` of this package! ## Contents diff --git a/composer.json b/composer.json index 78bcee5..7a3847a 100755 --- a/composer.json +++ b/composer.json @@ -32,18 +32,18 @@ ], "require": { "php": "^7.3", - "guzzlehttp/guzzle": "^6.5", - "illuminate/support": "^6.0|^7.0|^8.0", - "illuminate/notifications": "^6.0|^7.0|^8.0", - "illuminate/translation": "^6.0|^7.0|^8.0", + "guzzlehttp/guzzle": "^7.1", + "illuminate/support": "^8.0", + "illuminate/notifications": "^8.0", + "illuminate/translation": "^8.0", "nesbot/carbon": "^2.0", "ext-simplexml": "*" }, "require-dev": { "fzaninotto/faker": "^1.9", - "mockery/mockery": "^1.3", - "orchestra/testbench": "^4.0|^5.0|~6.0", - "phpunit/phpunit": "^9.0" + "phpunit/phpunit": "^9.4", + "mockery/mockery": "^1.4", + "orchestra/testbench": "^6.0" }, "autoload": { "psr-4": { diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 12ba420..067cd56 100755 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,29 +1,21 @@ - - - - tests - - - - - src/ - - - - - - - - - + + + + src/ + + + + + + + + + + tests + + + + +