stellar-php/stellar

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
  "name": "stellar/stellar",
  "type": "library",
  "description": "Stellar PHP library",
  "license": "GPL-3.0+",
  "homepage": "https://github.com/stellar-php/stellar",
  "authors": [
    {
      "name": "Roel Schut",
      "homepage": "https://roelschut.nl"
    }
  ],
  "keywords": [
    "stellar",
    "library",
    "php",
    "components"
  ],
  "require": {
    "php": ">=7.1.0",
    "ext-curl": "*",
    "psr/container": "^1.0",
    "psr/http-message": "^1.0",
    "psr/log": "^1.0",
    "psr/http-factory": "^1.0"
  },
  "require-dev": {
    "codedungeon/phpunit-result-printer": "^0.19",
    "fzaninotto/faker": "^1.8",
    "nunomaduro/collision": "^2",
    "phpunit/phpunit": "^7.3",
    "phpunit/php-code-coverage": "^6.1",
    "roeldev/phpcs-ruleset": "^1.0.1",
    "symfony/var-dumper": "^4.3"
  },
  "autoload": {
    "psr-4": {
      "Stellar\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "UnitTests\\": "tests/unit/"
    }
  },
  "scripts": {
    "setup-stable": "composer update --prefer-dist --no-interaction --prefer-stable",
    "setup-lowest": "composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable",
    "test": "php ./vendor/bin/phpunit",
    "test-dist": "php ./vendor/bin/phpunit -c phpunit.xml.dist",
    "analyse": "phpstan analyse --level=7 --no-progress ./src/ ./tests/",
    "analyze": "composer run analyse",
    "checkstyle": "phpcs -s --standard=roeldev --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 ./src/",
    "check-style": "composer run checkstyle",
    "fixstyle": "phpcbf --standard=roeldev --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 ./src/ ./tests/",
    "fix-style": "composer run fixstyle"
  }
}