GinoPane/php-nano-rest

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "gino-pane/nano-rest",
    "description": "Minimalistic and self-contained cURL HTTP REST client for PHP",
    "homepage": "https://github.com/GinoPane/php-nano-rest",
    "keywords": [
        "http client",
        "rest client",
        "nano rest",
        "minimalistic",
        "http",
        "rest",
        "php rest",
        "nano rest"
    ],
    "license": "MIT",
    "authors": [
        {
            "name": "Sergey <Gino Pane> Karavay",
            "homepage": "http://sergey.karavay.name",
            "email": "sergey.karavay@gmail.com",
            "role": "Developer"
        }
    ],
    "support": {
        "source": "http://github.com/GinoPane/php-nano-rest",
        "docs": "https://github.com/GinoPane/php-nano-rest/blob/master/README.md",
        "issues": "https://github.com/GinoPane/php-nano-rest/issues"
    },
    "type": "library",
    "require": {
        "php": "^7.1",
        "ext-curl": "*",
        "gino-pane/nano-http-status": "^1.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^6.0",
        "squizlabs/php_codesniffer": "^3.0",
        "phpmd/phpmd" : "^2.6",
        "phpdocumentor/phpdocumentor" : "^2.0"
    },
    "autoload": {
        "psr-4": {
            "GinoPane\\NanoRest\\": "src/"
        }
    },
    "scripts": {
        "test": [
            "@php vendor/bin/phpunit"
        ],
        "psr2check": [
            "@php vendor/bin/phpcs --standard=PSR2 src/"
        ],
        "psr2autofix": [
            "@php vendor/bin/phpcbf --standard=PSR2 src/"
        ],
        "docs": [
            "@php vendor/bin/phpdoc -d \"src\" -t \"docs\""
        ],
        "update-cacert": [
            "@php bin/update-cacert.php"
        ],
        "post-update-cmd": "@update-cacert",
        "post-install-cmd": "@update-cacert"
    }
}