PHP Classes

File: composer.json

Recommend this page to a friend!
  Classes of Axel Pardemann  >  PHP Optional Chaining  >  composer.json  >  Download  
File: composer.json
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Optional Chaining
Chain class function calls preventing errors
Author: By
Last change: Update of composer.json
Date: 2 years ago
Size: 1,880 bytes
 

Contents

Class file image Download
{
  "name": "norse-blue/optionals",
  "description": "PHP Optionals is a PHP library that allows you to chain method calls or access properties of an object while preventing errors from occurring.",
  "keywords": ["object", "optional", "method", "property"],
  "homepage": "https://norse.blue/open-source/php-optionals",
  "license": "MIT",
  "support": {
    "issues": "https://github.com/norse-blue/php-optionals/issues",
    "source": "https://github.com/norse-blue/php-optionals"
  },
  "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": "^7.3"
  },
  "require-dev": {
    "nunomaduro/phpinsights": "^1.7",
    "phpstan/phpstan": "^0.11",
    "phpunit/phpunit": "^8.2",
    "squizlabs/php_codesniffer": "^3.4"
  },
  "autoload": {
    "psr-4": {
      "NorseBlue\\Optionals\\": "src/"
    }
  },
  "autoload-dev": {
    "files": [
      "src/Functions/box.php"
    ],
    "psr-4": {
      "NorseBlue\\Optionals\\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"
  }
}
For more information send a message to info at phpclasses dot org.