{
    "name": "splitit/splitit-php-sdk",
    "description": "Splitit's Installments API is the primary Splitit tool for establishing and maintaining installment plans. Use it to verify shopper eligibility, create plans with or without immediate authorization, get plan information, update plan status, and process refunds and cancellations.",
    "type": "library",
    "keywords": [
        "splitit",
        "sdk",
        "api v3",
        "payments",
        "installmetns"
    ],
    "homepage": "https://splitit.com/",
    "license": [
        "MIT"
    ],
    "authors": [
        {
            "name": "Splitit Dev"
        }
    ],
    "support": {
        "email": "support@splitit.com"
    },
    "prefer-stable": false,
    "require": {
        "php": "^7.2 || ^8.0",
        "ext-json": "*",
        "ext-curl": "*",
        "apimatic/unirest-php": "^4.0.6",
        "apimatic/core-interfaces": "~0.1.5",
        "apimatic/core": "~0.3.13"
    },
    "require-dev": {
        "squizlabs/php_codesniffer": "^3.5",
        "phan/phan": "5.4.5",
        "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5"
    },
    "autoload": {
        "psr-4": {
            "SplititWebApiV3Lib\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "SplititWebApiV3Lib\\Tests\\": "tests/"
        }
    },
    "scripts": {
        "test": "phpunit",
        "test-coverage": "phpunit --coverage-html=coverage",
        "lint-src": "phpcs --standard=phpcs-ruleset.xml src/",
        "lint-src-fix": "phpcbf --standard=phpcs-ruleset.xml src/",
        "lint-tests": "phpcs --standard=phpcs-ruleset.xml tests/",
        "lint-tests-fix": "phpcbf --standard=phpcs-ruleset.xml tests/",
        "analyze": "phan --allow-polyfill-parser -p",
        "lint": [
            "@lint-src",
            "@lint-tests"
        ]
    }
}