composer.json 1.3 KB
{
    "name": "markbaker/complex",
    "type": "library",
    "description": "PHP Class for working with complex numbers",
    "keywords": ["complex", "mathematics"],
    "homepage": "https://github.com/MarkBaker/PHPComplex",
    "license": "MIT",
    "authors": [
        {
            "name": "Mark Baker",
            "email": "mark@lange.demon.co.uk"
        }
    ],
    "config": {
        "sort-packages": true,
        "allow-plugins": {
            "dealerdirect/phpcodesniffer-composer-installer": true,
            "markbaker/ukraine": true
        }
    },
    "require": {
        "php": "^7.2 || ^8.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
        "squizlabs/php_codesniffer": "^3.7",
        "phpcompatibility/php-compatibility": "^9.3",
        "dealerdirect/phpcodesniffer-composer-installer": "dev-master"
    },
    "autoload": {
        "psr-4": {
            "Complex\\": "classes/src/"
        }
    },
    "scripts": {
        "style": "phpcs --report-width=200 --standard=PSR2 --report=summary,full classes/src/ unitTests/classes/src -n",
        "versions": "phpcs --report-width=200 --standard=PHPCompatibility --report=summary,full classes/src/ --runtime-set testVersion 7.2- -n"
    },
    "minimum-stability": "dev"
}