diff --git a/.github/workflows/tests-php8.yml b/.github/workflows/tests-php8.yml index e1ce521..b55f296 100644 --- a/.github/workflows/tests-php8.yml +++ b/.github/workflows/tests-php8.yml @@ -17,8 +17,8 @@ jobs: strategy: matrix: - laravel: ['8.*'] - php: [7.4, 8.0, 8.1, 8.2] + laravel: ['9.*'] + php: [8.0, 8.1] fail-fast: false name: Laravel ${{ matrix.laravel }}, PHP ${{ matrix.php }} diff --git a/README.md b/README.md index b4c6458..51382ad 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ $ composer require suarez/laravel-utm-parameter Open the `app/Http/Kernel.php` file and add a new item to the `web` middleware group: ```php -# Laravel 8 +# Laravel 9 protected $middlewareGroups = [ 'web' => [ /* ... keep the existing middleware here */ @@ -65,7 +65,7 @@ protected $middlewareGroups = [ To enable UTM-Parameters only for certain requests to your site, add a new mapping to the `routeMiddleware` Array. ```php -# Laravel 8 +# Laravel 9 protected $routeMiddleware = [ /* ... keep the existing mappings here */ 'utm-parameters' => \Suarez\UtmParameter\Middleware\UtmParameters::class, diff --git a/composer.json b/composer.json index eb7c442..570fec8 100644 --- a/composer.json +++ b/composer.json @@ -11,13 +11,13 @@ } ], "require": { - "php": "^7.4|^8.0", - "illuminate/support": "^8.0", - "illuminate/contracts": "^8.0" + "php": "^8.0.2", + "illuminate/support": "^9.0", + "illuminate/contracts": "^9.0" }, "require-dev": { - "nunomaduro/collision": "^5.10", - "orchestra/testbench": "^6.22", + "nunomaduro/collision": "^6.0", + "orchestra/testbench": "^7.0", "phpunit/phpunit": "^9.5", "friendsofphp/php-cs-fixer": "^3.0" },