{
  "name": "payjp/payjp-php",
  "description": "Payjp PHP Library",
  "keywords": [
    "payjp",
    "payment processing",
    "api"
  ],
  "homepage": "https://pay.jp/",
  "license": "MIT",
  "authors": [
    {
      "name": "Payjp and contributors",
      "homepage": "https://github.com/payjp/payjp-php/graphs/contributors"
    }
  ],
  "require": {
    "php": ">=5.6",
    "ext-curl": "*",
    "ext-json": "*",
    "ext-mbstring": "*"
  },
  "require-dev": {
    "phpunit/phpunit": "~5.7 || ~9.5",
    "squizlabs/php_codesniffer": "~3.6"
  },
  "autoload": {
    "psr-4": { "Payjp\\" : "lib/" }
  },
  "extra": {
    "branch-alias": {
      "dev-master": "0.1.*-dev"
    }
  },
  "scripts": {
     "test": [
       "phpcs --standard=PSR2 -n lib tests *.php",
       "phpunit"
     ],
     "fix": [
       "@php -r \"if (PHP_VERSION_ID < 70400) { echo 'PHP 7.4 or higher is required. Current version: ' . PHP_VERSION . PHP_EOL; exit(1); }\"",
       "PHP_CS_FIXER_IGNORE_ENV=1 ./vendor/bin/php-cs-fixer fix --allow-risky=yes"
     ]
  },
  "config": {
    "platform-check": false
  },
  "suggest": {
    "friendsofphp/php-cs-fixer": "Required for the fix command (requires PHP >= 7.4)"
  }
}
