{
  "name": "caseyamcl/toc",
  "type": "library",
  "description": "Simple Table-of-Contents Generator for PHP.  Generates TOCs based off H1...H6 tags",
  "keywords": ["table of contents", "toc"],
  "homepage": "https://github.com/caseyamcl/toc",
  "license": "MIT",
  "authors":
  [
    {
      "name":     "Casey McLaughlin",
      "email":    "caseyamcl@gmail.com",
      "homepage": "https://caseymclaughlin.com",
      "role":     "Developer"
    }

  ],
  "autoload": {
    "psr-4": {
      "TOC\\": ["src", "tests"]
    }
  },
  "require": {
    "php": "^7.2|^8.0",
    "ext-dom": "*",
    "masterminds/html5": "^2.1",
    "cocur/slugify": "^3.0|^4.0",
    "knplabs/knp-menu": "^3.2"
  },
  "require-dev": {
    "twig/twig": "^2.4|^3.0",
    "phpunit/phpunit": "^7.5|^8.0|^9.0",
    "squizlabs/php_codesniffer": "^3.5",
    "phpstan/phpstan": "^1.4",
    "jaschilz/php-coverage-badger": "^2.0"
  },
  "scripts": {
    "test": " XDEBUG_MODE=coverage vendor/bin/phpunit; vendor/bin/php-coverage-badger build/logs/clover.xml ./coverage.svg",
    "check-style": "phpcs -p --standard=PSR12 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
    "fix-style": "phpcbf -p --standard=PSR12 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
    "phpstan": "vendor/bin/phpstan analyse -l 5 src tests"
  },
  "config": {
    "sort-packages": true
  }
}
