{
"name": "josantonius/request",
"type": "library",
"description": "PHP library for handling requests.",
"keywords": [
"Request",
"HTTP methods",
"GET",
"POST",
"PUT",
"DELETE",
"AJAX",
"PHP"
],
"license": "MIT",
"authors": [
{
"name": "Josantonius",
"email": "hello@josantonius.com",
"homepage": "https://josantonius.com",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/josantonius/php-request/issues",
"forum": "http://stackoverflow.com/tags/josantonius/php-request",
"source": "https://github.com/josantonius/php-request"
},
"config": {
"preferred-install": "dist"
},
"minimum-stability": "stable",
"require": {
"php": "^7.0",
"josantonius/validate": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7 || ^6.0",
"squizlabs/php_codesniffer": "^3.0",
"friendsofphp/php-cs-fixer": "^2.3 || ^2.8",
"phpmd/phpmd": "^2.6"
},
"autoload": {
"psr-4": {
"Josantonius\\Request\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Josantonius\\Request\\": "tests/"
}
},
"extra": {
"branch-alias": {
"dev-master": "2.0-dev"
}
},
"scripts": {
"server": "gnome-terminal -e 'php -S localhost:9000 -t tests/'",
"phpunit": "vendor/bin/phpunit --colors=always;",
"phpcs": "vendor/bin/phpcs --standard=phpcs.xml $(find . -name '*.php');",
"phpmd": "vendor/bin/phpmd src,tests text ./phpmd.xml",
"fix": [
"vendor/bin/php-cs-fixer fix -v",
"vendor/bin/phpcbf src tests"
],
"tests": [
"@server",
"sleep 3",
"clear",
"@phpmd",
"@phpcs",
"@phpunit"
]
}
}
|