diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 309d4c0..b99889d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,11 +13,21 @@ jobs: strategy: fail-fast: true matrix: - php: ['8.0', 8.1, 8.2] - laravel: [9, 10] + php: ['8.0', 8.1, 8.2, 8.3] + laravel: [8, 9, 10, 11] exclude: - php: '8.0' laravel: 10 + - php: '8.0' + laravel: 11 + - php: 8.1 + laravel: 11 + - php: 8.2 + laravel: 8 + - php: 8.3 + laravel: 8 + - php: 8.3 + laravel: 9 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} @@ -40,4 +50,4 @@ jobs: composer update --prefer-dist --no-interaction --no-progress - name: Execute tests - run: vendor/bin/phpunit --verbose \ No newline at end of file + run: vendor/bin/phpunit \ No newline at end of file diff --git a/README.md b/README.md index 7d6f226..c579d0d 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ [![Maintainability](https://api.codeclimate.com/v1/badges/9e2415e0cfcfe2120a9e/maintainability)](https://codeclimate.com/github/hooman-mirghasemi/Laravel-iran-sms/maintainability) [![Quality Score][ico-code-quality]][link-code-quality] -This is a Laravel Package for Sms Senders Integration. This package supports `Laravel 9+` But it may work with laravel 8 or 7 (not tested). +This is a Laravel Package for Sms Senders Integration. This package supports `Laravel 8+`, all tests passed for laravel 8, 9, 10 and 11! > Benefits of this package: > - Multiple drivers diff --git a/composer.json b/composer.json index 06f063f..1b64617 100644 --- a/composer.json +++ b/composer.json @@ -26,13 +26,12 @@ "require": { "php": "^8.0.2", "kavenegar/laravel": "*", - "doctrine/dbal": "3.6.5", - "laravel/framework": "^7.0|^8.0|^9.0|^10.0" + "laravel/framework": "^8.0|^9.0|^10.0|^11.0" }, "require-dev": { - "phpunit/phpunit": "^9.6", - "orchestra/testbench": "^7.28.2|^8.8.3", - "laravel/legacy-factories": "^1.3" + "phpunit/phpunit": "^9.0|^10.5", + "orchestra/testbench": "^6.40|^7.37|^8.17|^9.0", + "laravel/legacy-factories": "^1.4" }, "minimum-stability": "stable", "scripts": {