diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6b21de4..9f7a17a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: true matrix: - laravel: [6, 8, 9] + laravel: [6, 8, 9, 10] name: Tests (PHPUnit) - L${{ matrix.laravel }} diff --git a/README.md b/README.md index bfef432..8506915 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## Installation -Supports Laravel 6, 7, 8, and 9. +Supports Laravel 6, 7, 8, 9 and 10. ``` composer require stancl/virtualcolumn @@ -20,7 +20,7 @@ class MyModel extends Model use VirtualColumn; public $guarded = []; - + public static function getCustomColumns(): array { return [ diff --git a/composer.json b/composer.json index f58bcc9..06156e8 100644 --- a/composer.json +++ b/composer.json @@ -19,11 +19,11 @@ } }, "require": { - "illuminate/support": "^6.0|^8.0|^9.0", - "illuminate/database": "^6.0|^8.0|^9.0" + "illuminate/support": "^6.0|^8.0|^9.0|^10.0", + "illuminate/database": "^6.0|^8.0|^9.0|^10.0" }, "require-dev": { - "orchestra/testbench": "^4.0|^6.0|^7.0" + "orchestra/testbench": "^4.0|^6.0|^7.0|^8.0" }, "minimum-stability": "dev", "prefer-stable": true