diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 8a70117..0511775 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -9,33 +9,12 @@ jobs: strategy: fail-fast: true matrix: - php: [ "7.3", "7.4", "8.0", "8.1", "8.2" ] - laravel: [ "7.0", "8.0", "9.0", "10.0" ] + php: [ "8.1", "8.2", "8.3" ] + laravel: [ "10.0", "11.0" ] exclude: - - laravel: "7.0" + - laravel: "11.0" php: "8.1" - - laravel: "7.0" - php: "8.2" - - - laravel: "8.0" - php: "7.3" - - - laravel: "9.0" - php: "7.3" - - - laravel: "9.0" - php: "7.4" - - - laravel: "10.0" - php: "7.3" - - - laravel: "10.0" - php: "7.4" - - - laravel: "10.0" - php: "8.0" - name: PHP ${{ matrix.php }}, Laravel ${{ matrix.laravel }} steps: diff --git a/README.md b/README.md index 764c828..48330dc 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,14 @@ ## Installation +### Compatibility + +| Laravel | PHP | Extended Routes Version | +|-------------|-------------------------|-------------------------| +| 7, 8, 9, 10 | 7.3, 7.4, 8.0, 8.1, 8.2 | `^3.0` | +| 10, 11 | 8.1, 8.2, 8.3 | `^4.0` | + + To get the latest version of `Extended Routes`, simply require the project using [Composer](https://getcomposer.org): ```bash @@ -24,7 +32,7 @@ Instead, you may of course manually update your require block and run `composer ```json { "require": { - "dragon-code/extended-routes": "^3.1" + "dragon-code/extended-routes": "^4.0" } } ``` diff --git a/composer.json b/composer.json index c3d48a7..4a928b9 100644 --- a/composer.json +++ b/composer.json @@ -43,16 +43,16 @@ } ], "require": { - "php": "^7.3 || ^8.0", - "illuminate/database": "^7.0 || ^8.0 || ^9.0 || ^10.0", - "illuminate/routing": "^7.0 || ^8.0 || ^9.0 || ^10.0", - "illuminate/support": "^7.0 || ^8.0 || ^9.0 || ^10.0" + "php": "^8.1", + "illuminate/database": "^10.0 || ^11.0", + "illuminate/routing": "^10.0 || ^11.0", + "illuminate/support": "^10.0 || ^11.0" }, "require-dev": { - "orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0", - "phpunit/phpunit": "^9.6" + "orchestra/testbench": "^8.0 || ^9.0", + "phpunit/phpunit": "^11.0" }, - "minimum-stability": "stable", + "minimum-stability": "dev", "prefer-stable": true, "autoload": { "psr-4": { diff --git a/phpunit.php b/phpunit.php deleted file mode 100644 index ac54cdc..0000000 --- a/phpunit.php +++ /dev/null @@ -1,28 +0,0 @@ - - - - - ./src - - - src/ServiceProvider.php - + @@ -33,7 +19,15 @@ - ./tests + ./tests + + + ./src + + + src/ServiceProvider.php + +