Modernise Laravel Modules dependencies and add initial tests

This commit is contained in:
Mark Gregory
2026-11-20 12:32:54 +00:00
parent 2ea51b40be
commit 82dc9ca5b3
4 changed files with 61 additions and 11 deletions
+17 -11
View File
@@ -16,17 +16,23 @@
}
],
"require": {
"php": ">=7.3",
"ext-json": "*"
"php": "^8.0",
"ext-json": "*",
"illuminate/support": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0",
"illuminate/console": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0",
"illuminate/contracts": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0",
"illuminate/database": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0",
"illuminate/filesystem": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0",
"illuminate/routing": "^8.0 || ^9.0 || ^10.0 || ^11.0 || ^12.0 || ^13.0"
},
"require-dev": {
"phpunit/phpunit": "^8.5",
"mockery/mockery": "~1.0",
"orchestra/testbench": "^6.0",
"friendsofphp/php-cs-fixer": "^2.16",
"laravel/framework": "^8.0",
"spatie/phpunit-snapshot-assertions": "^2.1.0",
"phpstan/phpstan": "^0.12.14"
"phpunit/phpunit": "^12.5",
"mockery/mockery": "^1.6",
"orchestra/testbench": "^11.0",
"friendsofphp/php-cs-fixer": "^3.0",
"laravel/framework": "^13.0",
"spatie/phpunit-snapshot-assertions": "^5.4",
"phpstan/phpstan": "^2.0"
},
"autoload": {
"psr-4": {
@@ -61,7 +67,7 @@
"test-coverage": "vendor/bin/phpunit --debug --coverage-html coverage",
"pcf": "vendor/bin/php-cs-fixer fix --verbose"
},
"minimum-stability": "dev",
"prefer-stable": false,
"minimum-stability": "stable",
"prefer-stable": true,
"type": "library"
}