norse-blue/php-extensible-objects

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
  "name": "norse-blue/extensible-objects",
  "description": "PHP Extensible Objects is a PHP library that provides the mechanisms to dynamically add extension methods to objects.",
  "keywords": [
    "extension",
    "objects",
    "methods"
  ],
  "homepage": "https://norse.blue/open-source/php-extensible-objects",
  "license": "MIT",
  "support": {
    "issues": "https://github.com/norse-blue/php-extensible-objects/issues",
    "source": "https://github.com/norse-blue/php-extensible-objects"
  },
  "authors": [
    {
      "name": "Axel Pardemann",
      "email": "axel.pardemann@norse.blue"
    }
  ],
  "minimum-stability": "dev",
  "prefer-stable": true,
  "config": {
    "preferred-install": "dist",
    "sort-packages": true,
    "optimize-autoloader": true
  },
  "require": {
    "php": "^8.0",
    "norse-blue/creatable-objects": "^3.1",
    "norse-blue/handy-properties": "^3.1"
  },
  "require-dev": {
    "jetbrains/phpstorm-attributes": "^1.0",
    "nunomaduro/phpinsights": "^2.0",
    "phpstan/phpstan": "^0.12.98",
    "phpunit/phpunit": "^9.5",
    "squizlabs/php_codesniffer": "^3.6"
  },
  "autoload": {
    "psr-4": {
      "NorseBlue\\ExtensibleObjects\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "NorseBlue\\ExtensibleObjects\\Tests\\": "tests/"
    }
  },
  "scripts": {
    "analyze": "vendor/bin/phpstan analyze --ansi",
    "analyze:github": "vendor/bin/phpstan analyze --error-format=github",
    "check": [
      "@style:check",
      "@analyze",
      "@insights",
      "@test"
    ],
    "check:coverage": [
      "@style:check",
      "@analyze",
      "@insights",
      "@test:coverage"
    ],
    "insights": "vendor/bin/phpinsights --no-interaction --ansi",
    "insights:verbose": "vendor/bin/phpinsights --no-interaction --ansi --verbose",
    "style:check": "vendor/bin/phpcs",
    "style:fix": "vendor/bin/phpcbf || phpcs",
    "test": "vendor/bin/phpunit --colors=always",
    "test:coverage": [
      "@putenv XDEBUG_MODE=coverage",
      "phpunit --colors=always --coverage-text --coverage-clover=./build/coverage.xml --coverage-html=./build/coverage"
    ]
  }
}