{
"name": "apphp/pretty-print",
"description": "Callable pretty-printer for PHP arrays with Python-like formatting.",
"keywords": ["pretty-print", "pprint", "print", "array", "matrix", "tensor", "formatting", "debug", "logging", "php"],
"homepage": "https://apphp.com",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Samuel Akopyan"
}
],
"autoload": {
"psr-4": {
"Apphp\\PrettyPrint\\": "src/",
"Apphp\\PrettyPrint\\Tests\\": "tests/"
},
"files": [
"src/functions.php"
]
},
"require": {
"php": ">=8.1"
},
"require-dev": {
"phpunit/phpunit": "^10.5.58",
"overtrue/phplint": "^9.6.2",
"squizlabs/php_codesniffer": "^3.10",
"friendsofphp/php-cs-fixer": "^3.64",
"phpcompatibility/php-compatibility": "^9.3"
},
"scripts": {
"test": "phpunit --no-coverage",
"test:coverage": "XDEBUG_MODE=coverage phpunit",
"lint": "phplint --no-cache --no-ansi src tests",
"cs:check": "phpcs",
"cs:fix": "php-cs-fixer fix --config=.php-cs-fixer.php --ansi --verbose --using-cache=no",
"check": "composer lint && composer cs:check && composer test"
}
}
|