Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nova 5 #33

Merged
merged 2 commits into from
Jan 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ A Laravel Nova card that displays the total number of records for a model or the
</a>

<a href="https://nova.laravel.com/docs/4.0/" title="Laravel Nova Version">
<img alt="Laravel Nova Version" src="https://img.shields.io/badge/laravel%20nova-4.0-1DA5E7">
<img alt="Laravel Nova Version" src="https://img.shields.io/badge/laravel%20nova-5.0-1DA5E7">
</a>

<a href="https://www.php.net/" title="PHP version">
Expand All @@ -35,9 +35,9 @@ A Laravel Nova card that displays the total number of records for a model or the
</p>

## Requirements
- PHP 7.4 - 8.3
- PHP 7.4 - 8.4
- Laravel 8.x - 11.x
- Nova 4
- Nova 4.x - 5.x

## Installation

Expand Down
10 changes: 8 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
includes:
- phpstan-baseline.neon
- ./vendor/nunomaduro/larastan/extension.neon
- ./vendor/larastan/larastan/extension.neon

parameters:

Expand Down
Loading