composer.json
{
"name": "designcise/bitframe-whoops",
"type": "library",
"description": "Whoops error handler middleware",
"license": "MIT",
"authors": [
{
"name": "Daniyal Hamid",
"homepage": "https://www.designcise.com/"
}
],
"require": {
"php": ">=8.2",
"filp/whoops": "^2.15",
"psr/http-factory": "^1.0",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"mockery/mockery": "^1.4",
"squizlabs/php_codesniffer": "3.*",
"phpmd/phpmd": "@stable",
"phpstan/phpstan": "*"
},
"scripts": {
"style": "vendor/bin/phpcs --standard=PSR12 src",
"style-fix": "vendor/bin/phpcbf --standard=PSR12 src",
"check": "vendor/bin/phpstan analyse src --level=5 -c phpstan.neon",
"md": "vendor/bin/phpmd src text cleancode,unusedcode,codesize,design,naming",
"test": "vendor/bin/phpunit --configuration phpunit.xml --testsuite bitframe_whoops",
"test-report": "vendor/bin/phpunit --configuration phpunit.xml --testsuite bitframe_whoops --coverage-clover=coverage.xml"
},
"autoload": {
"psr-4": {
"BitFrame\\Whoops\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"BitFrame\\Whoops\\Test\\": "test/"
}
}
}