61 lines
1.8 KiB
JSON
61 lines
1.8 KiB
JSON
{
|
|
"name": "foundation/framework",
|
|
"description": "A generic PHP framework based on Slim and DI containers",
|
|
"type": "project",
|
|
"require": {
|
|
"php": ">=8.1",
|
|
"ext-pdo": "*",
|
|
"monolog/monolog": "^3.0",
|
|
"php-di/php-di": "^7.0",
|
|
"psr/simple-cache": "^3.0",
|
|
"slim/psr7": "^1.6",
|
|
"slim/slim": "^4.12",
|
|
"vlucas/phpdotenv": "^5.5"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^10.0",
|
|
"phpstan/phpstan": "^1.10",
|
|
"phpstan/extension-installer": "^1.3",
|
|
"phpstan/phpstan-strict-rules": "^1.5",
|
|
"phpstan/phpstan-deprecation-rules": "^1.1",
|
|
"deptrac/deptrac": "^2.0",
|
|
"tomasvotruba/type-coverage": "^0.2",
|
|
"shipmonk/phpstan-rules": "^3.0",
|
|
"rector/rector": "^1.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Foundation\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"Foundation\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "phpunit",
|
|
"test-coverage": "phpunit --coverage-html=coverage-html",
|
|
"test-unit": "phpunit --testsuite=Unit",
|
|
"test-integration": "phpunit --testsuite=Integration",
|
|
"phpstan": "phpstan analyse",
|
|
"phpstan-baseline": "phpstan analyse --generate-baseline",
|
|
"deptrac": "deptrac analyse",
|
|
"deptrac-baseline": "deptrac analyse --formatter=baseline --output=deptrac-baseline.yaml",
|
|
"rector": "rector process --dry-run",
|
|
"rector-fix": "rector process",
|
|
"static-analysis": [
|
|
"@phpstan",
|
|
"@deptrac"
|
|
]
|
|
},
|
|
"config": {
|
|
"optimize-autoloader": true,
|
|
"sort-packages": true,
|
|
"allow-plugins": {
|
|
"phpstan/extension-installer": true
|
|
}
|
|
},
|
|
"minimum-stability": "stable",
|
|
"prefer-stable": true
|
|
}
|