69 lines
1.9 KiB
JSON
69 lines
1.9 KiB
JSON
{
|
|
"name": "siteworxpro/app",
|
|
"type": "project",
|
|
"autoload": {
|
|
"psr-4": {
|
|
"Siteworxpro\\App\\": "src/",
|
|
"Siteworxpro\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"require": {
|
|
"php": "^8.4",
|
|
"league/route": "^6.2",
|
|
"illuminate/database": "^12.10",
|
|
"spiral/roadrunner-http": "^3.5",
|
|
"nyholm/psr7": "^1.8",
|
|
"illuminate/support": "^v12.10.2",
|
|
"roadrunner-php/app-logger": "^1.2",
|
|
"siteworxpro/config": "^1.1",
|
|
"predis/predis": "^3.0"
|
|
},
|
|
"require-dev": {
|
|
"phpunit/phpunit": "^12.1",
|
|
"mockery/mockery": "^1.6",
|
|
"squizlabs/php_codesniffer": "^3.12",
|
|
"lendable/composer-license-checker": "^1.2",
|
|
"phpstan/phpstan": "^2.1"
|
|
},
|
|
"scripts": {
|
|
"tests:all": [
|
|
"composer run-script tests:unit",
|
|
"composer run-script tests:lint",
|
|
"composer run-script tests:license",
|
|
"composer run-script tests:phpstan"
|
|
],
|
|
"tests:unit": [
|
|
"phpunit --colors=always --display-deprecations tests"
|
|
],
|
|
"tests:unit:coverage": [
|
|
"phpunit --coverage-text --colors=never --display-deprecations --log-junit tests/reports/junit.xml --coverage-html tests/reports/html tests "
|
|
],
|
|
"tests:lint": [
|
|
"phpcs ./src/**/*.php --standard=PSR12 --colors -v",
|
|
"phpcs ./tests/**/*.php --standard=PSR12 --colors -v"
|
|
],
|
|
"tests:lint:fix": [
|
|
"phpcbf ./src/**/*.php --standard=PSR12 --colors -v",
|
|
"phpcbf ./tests/**/*.php --standard=PSR12 --colors -v"
|
|
],
|
|
"tests:license": [
|
|
"composer-license-checker"
|
|
],
|
|
"tests:phpstan": [
|
|
"phpstan analyse --level 4 ./src/ -c phpstan.neon"
|
|
]
|
|
},
|
|
"repositories": {
|
|
"git.siteworxpro.com/24": {
|
|
"type": "composer",
|
|
"url": "https://git.siteworxpro.com/api/v4/group/24/-/packages/composer/packages.json",
|
|
"options": {
|
|
"ssl": {
|
|
"verify_peer": false,
|
|
"allow_self_signed": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|