orca-services/nova-api-php

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "name": "orca-services/nova-api",
    "description": "A PHP client library for the NOVA API",
    "license": "MIT",
    "keywords": [
        "nova",
        "api",
        "sbb",
        "client",
        "sdk",
        "soap",
        "4klang"
    ],
    "require": {
        "php": "^7.2",
        "ext-dom": "*",
        "cakephp/chronos": "^1 || ^2",
        "guzzlehttp/guzzle": "^6.5"
    },
    "require-dev": {
        "friendsofphp/php-cs-fixer": "^3",
        "php-di/php-di": "^6",
        "phpstan/phpstan": "^1",
        "phpunit/phpunit": "^6 || ^7",
        "squizlabs/php_codesniffer": "^3"
    },
    "autoload": {
        "psr-4": {
            "OrcaServices\\NovaApi\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "OrcaServices\\NovaApi\\Test\\": "tests/"
        }
    },
    "config": {
        "sort-packages": true
    },
    "scripts": {
        "cs:check": "php-cs-fixer fix --dry-run --format=txt --verbose --diff --config=.cs.php --ansi",
        "cs:fix": "php-cs-fixer fix --config=.cs.php --ansi",
        "sniffer:check": "phpcs --standard=phpcs.xml",
        "sniffer:fix": "phpcbf --standard=phpcs.xml",
        "stan": "phpstan analyse -c phpstan.neon --no-progress --ansi",
        "test": "phpunit --configuration phpunit.xml --colors=always",
        "test:all": [
            "@cs:check",
            "@sniffer:check",
            "@stan",
            "@test:coverage"
        ],
        "test:coverage": "phpunit --configuration phpunit.xml --colors=always --coverage-clover build/logs/clover.xml --coverage-html build/coverage"
    }
}