norse-blue/php-value-objects

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
  "name": "norse-blue/value-objects",
  "description": "PHP Value Objects is a PHP library that implements the value object technique and lets you create your own value objects with the scaffolding already laid out for you.",
  "keywords": ["value", "objects"],
  "homepage": "https://norse.blue/open-source/php-value-objects",
  "license": "MIT",
  "support": {
    "issues": "https://github.com/norse-blue/php-value-objects/issues",
    "source": "https://github.com/norse-blue/php-value-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/handy-properties": "^3.0"
  },
  "require-dev": {
    "nunomaduro/phpinsights": "^2.0",
    "phpstan/phpstan": "^0.12.98",
    "phpunit/phpunit": "^9.5",
    "squizlabs/php_codesniffer": "^3.6"
  },
  "autoload": {
    "psr-4": {
      "NorseBlue\\ValueObjects\\": "src/"
    }
  },
  "autoload-dev": {
    "psr-4": {
      "NorseBlue\\ValueObjects\\Tests\\": "tests/"
    }
  },
  "scripts": {
    "analyse": "vendor/bin/phpstan analyse --ansi",
    "check": [
      "@style:check",
      "@analyse",
      "@insights",
      "@test"
    ],
    "check:coverage": [
      "@style:check",
      "@analyse",
      "@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",
    "test": "vendor/bin/phpunit --colors=always",
    "test:coverage": "vendor/bin/phpunit --colors=always --coverage-clover=./build/coverage.xml --coverage-html=./build/coverage"
  }
}