diff --git a/README.md b/README.md index 6ccf53a..2389743 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ A Laravel Nova card that displays the total number of records for a model or the - Laravel Nova Version + Laravel Nova Version @@ -35,9 +35,9 @@ A Laravel Nova card that displays the total number of records for a model or the

## Requirements -- PHP 7.4 - 8.3 +- PHP 7.4 - 8.4 - Laravel 8.x - 11.x -- Nova 4 +- Nova 4.x - 5.x ## Installation diff --git a/composer.json b/composer.json index 31cfec6..a5e4e20 100644 --- a/composer.json +++ b/composer.json @@ -17,15 +17,21 @@ "homepage": "https://github.com/abordage/nova-total-card", "require": { "php": ">=7.4", - "laravel/nova": "^4.0" + "laravel/nova": "^4.0 || ^5.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0", "nunomaduro/collision": "^5.0 || ^6.0 || ^7.0 || ^8.0", - "nunomaduro/larastan": "^1.0 || ^2.0", + "larastan/larastan": "^1.0 || ^2.0", "orchestra/testbench": "^6.0 || ^7.0 || ^8.0 || ^9.0", "phpunit/phpunit": "^9.6 || ^10.0" }, + "repositories": { + "nova": { + "type": "composer", + "url": "https://nova.laravel.com" + } + }, "minimum-stability": "dev", "prefer-stable": true, "autoload": { diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 622cf27..b818652 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,6 +1,6 @@ includes: - phpstan-baseline.neon - - ./vendor/nunomaduro/larastan/extension.neon + - ./vendor/larastan/larastan/extension.neon parameters: