diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 0766ec8..39150be 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -9,16 +9,29 @@ jobs: max-parallel: 15 fail-fast: false matrix: - laravel-version: ['5.8.*', '^6.0', '^7.0', '^8.0'] - php-versions: ['7.3', '7.4'] - name: PHP ${{ matrix.php-versions }} on Laravel ${{ matrix.laravel-version }} + laravel-version: ['5.8.*', '^6.0', '^7.0', '^8.0', '^9.0'] + php-version: ['7.3', '7.4', '8.0', '8.1'] + exclude: + - laravel-version: '5.8.*' + php-version: '8.0' + - laravel-version: '5.8.*' + php-version: '8.1' + - laravel-version: '^6.0' + php-version: '8.1' + - laravel-version: '^7.0' + php-version: '8.1' + - laravel-version: '^9.0' + php-version: '7.3' + - laravel-version: '^9.0' + php-version: '7.4' + name: PHP ${{ matrix.php-version }} on Laravel ${{ matrix.laravel-version }} steps: - name: Checkout uses: actions/checkout@master - name: Setup PHP uses: shivammathur/setup-php@master with: - php-version: ${{ matrix.php-versions }} + php-version: ${{ matrix.php-version }} extension-csv: mbstring, xdebug coverage: xdebug - name: Install dependencies @@ -30,7 +43,4 @@ jobs: - name: Run Tests run: composer test:unit - name: Run Integration Tests - if: matrix.laravel-version == '^7.0' - run: | - composer require --dev --no-interaction "orchestra/testbench:^5.1" - composer test:integration + run: composer test:integration diff --git a/README.md b/README.md index 7be4064..96b61a8 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ [![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/laravel-notification-channels/twilio/master.svg?style=flat-square)](https://scrutinizer-ci.com/g/laravel-notification-channels/twilio/?branch=master) [![Total Downloads](https://img.shields.io/packagist/dt/laravel-notification-channels/twilio.svg?style=flat-square)](https://packagist.org/packages/laravel-notification-channels/twilio) -This package makes it easy to send [Twilio notifications](https://documentation.twilio.com/docs) with Laravel 5.5+, 6.x and 7.x +This package makes it easy to send [Twilio notifications](https://documentation.twilio.com/docs) with Laravel 5.5+, 6.x, 7.x, 8.x & 9.x You are viewing the `3.x` documentation. [Click here](https://github.com/laravel-notification-channels/twilio/tree/2.x) to view the `2.x` documentation. diff --git a/composer.json b/composer.json index 967861d..5cc0fae 100644 --- a/composer.json +++ b/composer.json @@ -22,16 +22,17 @@ } ], "require": { - "php": ">=7.2", + "php": ">=7.2|^8.0", "twilio/sdk": "~6.0", - "illuminate/notifications": "^5.8 || ^6.0 || ^7.0 || ^8.0", - "illuminate/support": "^5.8 || ^6.0 || ^7.0 || ^8.0", - "illuminate/events": "^5.8 || ^6.0 || ^7.0 || ^8.0", - "illuminate/queue": "^5.8 || ^6.0 || ^7.0 || ^8.0" + "illuminate/notifications": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "illuminate/support": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "illuminate/events": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0", + "illuminate/queue": "^5.8 || ^6.0 || ^7.0 || ^8.0 || ^9.0" }, "require-dev": { "mockery/mockery": "^1.3", - "phpunit/phpunit": "^8.5" + "phpunit/phpunit": "^8.5|^9.5", + "orchestra/testbench": "^3|^4|^5|^6|^7" }, "autoload": { "psr-4": {