{
  "name": "trustedlogin/client",
  "type": "library",
  "description": "Easily and securely log in to your customers sites when providing support.",
  "keywords": [
    "login",
    "security",
    "support"
  ],
  "homepage": "https://www.trustedlogin.com",
  "license": "GPL-2.0-or-later",
  "authors": [
    {
      "name": "TrustedLogin",
      "email": "support@trustedlogin.com",
      "homepage": "https://www.trustedlogin.com"
    }
  ],
  "minimum-stability": "dev",
  "prefer-stable": true,
  "bin": [
    "bin/build-sass"
  ],
  "autoload": {
    "psr-4": {
      "TrustedLogin\\": "src/"
    }
  },
  "require": {
    "php": ">=5.3.0",
    "ext-curl": "*",
    "ext-json": "*"
  },
  "suggest": {
    "paragonie/sodium_compat": "Required on PHP < 7.2 to polyfill libsodium for the encrypted credential exchange."
  },
  "require-dev": {
    "wp-coding-standards/wpcs": "^3.0",
    "phpcompatibility/phpcompatibility-wp": "^2.1",
    "dealerdirect/phpcodesniffer-composer-installer": "^1.0",
    "phpstan/phpstan": "^1.10",
    "szepeviktor/phpstan-wordpress": "^1.3",
    "phpstan/extension-installer": "^1.3",
    "yoast/phpunit-polyfills": "^1.0.0",
    "scssphp/scssphp": "^2.1",
    "symfony/filesystem": "^7.0"
  },
  "scripts": {
    "format": "vendor/bin/phpcbf --standard=.phpcs.xml.dist --report-summary --report-source",
    "lint": "vendor/bin/phpcs --standard=.phpcs.xml.dist",
    "phpstan": [
      "vendor/bin/phpstan analyse --memory-limit=2048M"
    ],
    "pot": [
      "wp i18n make-pot . languages/trustedlogin-client.pot --domain=trustedlogin --exclude=bin,node_modules,tests --package-name='TrustedLogin Client'"
    ],
    "test": "phpunit",
    "test:unit": "phpunit --configuration=phpunit-unit.xml",
    "test:integration": "phpunit --configuration=phpunit.xml.dist"
  },
  "config": {
    "allow-plugins": {
      "dealerdirect/phpcodesniffer-composer-installer": true,
      "phpstan/extension-installer": true
    }
  }
}
