efureev/php-support

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
  "name": "efureev/support",
  "description": "PHP Support Package is a collection of useful functions and snippets",
  "license": "MIT",
  "type": "library",
  "keywords": [
    "php",
    "utility",
    "support",
    "helpers"
  ],
  "authors": [
    {
      "name": "Eugene Fureev",
      "homepage": "https://github.com/efureev"
    }
  ],
  "require": {
    "php": "^8.1|^8.2|^8.3",
    "ext-mbstring": "*"
  },
  "require-dev": {
    "phpunit/phpunit": "^10.1.1",
    "phpstan/phpstan": "^1.10.14",
    "squizlabs/php_codesniffer": "^3.7.2"
  },
  "autoload": {
    "files": [
      "src/Global/base.php"
    ],
    "psr-4": {
      "Php\\Support\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "Php\\Support\\Tests\\": "tests/"
    }
  },
  "scripts": {
    "phpcs": "@php ./vendor/bin/phpcs",
    "cs-fix": "@php ./vendor/bin/phpcbf",
    "phpunit": "@php ./vendor/bin/phpunit --no-coverage --testdox --colors=always",
    "phpunit-test": "@php ./vendor/bin/phpunit --no-coverage --testdox --colors=always",
    "infection": "@php ./vendor/bin/infection --coverage=./storage/coverage --threads=4",
    "phpunit-cover": "@php ./vendor/bin/phpunit --coverage-text",
    "phpstan": "@php ./vendor/bin/phpstan analyze -c ./phpstan.neon.dist --no-progress --ansi",
    "test": [
      "@phpstan",
      "@phpunit"
    ],
    "test-cover": [
      "@phpstan",
      "@phpunit-cover"
    ]
  }
}