composer.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. {
  2. "name": "league/commonmark",
  3. "type": "library",
  4. "description": "Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)",
  5. "keywords": ["markdown","parser","commonmark","gfm","github","flavored","github-flavored","md"],
  6. "homepage": "https://commonmark.thephpleague.com",
  7. "license": "BSD-3-Clause",
  8. "authors": [
  9. {
  10. "name": "Colin O'Dell",
  11. "email": "colinodell@gmail.com",
  12. "homepage": "https://www.colinodell.com",
  13. "role": "Lead Developer"
  14. }
  15. ],
  16. "support": {
  17. "docs": "https://commonmark.thephpleague.com/",
  18. "forum": "https://github.com/thephpleague/commonmark/discussions",
  19. "issues": "https://github.com/thephpleague/commonmark/issues",
  20. "rss": "https://github.com/thephpleague/commonmark/releases.atom",
  21. "source": "https://github.com/thephpleague/commonmark"
  22. },
  23. "require": {
  24. "php": "^7.4 || ^8.0",
  25. "ext-mbstring": "*",
  26. "league/config": "^1.1.1",
  27. "psr/event-dispatcher": "^1.0",
  28. "symfony/deprecation-contracts": "^2.1 || ^3.0",
  29. "symfony/polyfill-php80": "^1.16"
  30. },
  31. "require-dev": {
  32. "ext-json": "*",
  33. "cebe/markdown": "^1.0",
  34. "commonmark/cmark": "0.31.1",
  35. "commonmark/commonmark.js": "0.31.1",
  36. "composer/package-versions-deprecated": "^1.8",
  37. "embed/embed": "^4.4",
  38. "erusev/parsedown": "^1.0",
  39. "github/gfm": "0.29.0",
  40. "michelf/php-markdown": "^1.4 || ^2.0",
  41. "nyholm/psr7": "^1.5",
  42. "phpstan/phpstan": "^1.8.2",
  43. "phpunit/phpunit": "^9.5.21 || ^10.5.9 || ^11.0.0",
  44. "scrutinizer/ocular": "^1.8.1",
  45. "symfony/finder": "^5.3 | ^6.0 | ^7.0",
  46. "symfony/process": "^5.4 | ^6.0 | ^7.0",
  47. "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0 | ^7.0",
  48. "unleashedtech/php-coding-standard": "^3.1.1",
  49. "vimeo/psalm": "^4.24.0 || ^5.0.0"
  50. },
  51. "minimum-stability": "beta",
  52. "suggest": {
  53. "symfony/yaml": "v2.3+ required if using the Front Matter extension"
  54. },
  55. "repositories": [
  56. {
  57. "type": "package",
  58. "package": {
  59. "name": "commonmark/commonmark.js",
  60. "version": "0.31.1",
  61. "dist": {
  62. "url": "https://github.com/commonmark/commonmark.js/archive/0.31.1.zip",
  63. "type": "zip"
  64. }
  65. }
  66. },
  67. {
  68. "type": "package",
  69. "package": {
  70. "name": "commonmark/cmark",
  71. "version": "0.31.1",
  72. "dist": {
  73. "url": "https://github.com/commonmark/cmark/archive/0.31.1.zip",
  74. "type": "zip"
  75. }
  76. }
  77. },
  78. {
  79. "type": "package",
  80. "package": {
  81. "name": "github/gfm",
  82. "version": "0.29.0",
  83. "dist": {
  84. "url": "https://github.com/github/cmark-gfm/archive/0.29.0.gfm.13.zip",
  85. "type": "zip"
  86. }
  87. }
  88. }
  89. ],
  90. "autoload": {
  91. "psr-4": {
  92. "League\\CommonMark\\": "src"
  93. }
  94. },
  95. "autoload-dev": {
  96. "psr-4": {
  97. "League\\CommonMark\\Tests\\Unit\\": "tests/unit",
  98. "League\\CommonMark\\Tests\\Functional\\": "tests/functional",
  99. "League\\CommonMark\\Tests\\PHPStan\\": "tests/phpstan"
  100. }
  101. },
  102. "scripts": {
  103. "phpcs": "phpcs",
  104. "phpstan": "phpstan analyse",
  105. "phpunit": "phpunit --no-coverage",
  106. "psalm": "psalm --stats",
  107. "pathological": "tests/pathological/test.php",
  108. "test": [
  109. "@phpcs",
  110. "@phpstan",
  111. "@psalm",
  112. "@phpunit",
  113. "@pathological"
  114. ]
  115. },
  116. "extra": {
  117. "branch-alias": {
  118. "dev-main": "2.7-dev"
  119. }
  120. },
  121. "config": {
  122. "allow-plugins": {
  123. "composer/package-versions-deprecated": true,
  124. "dealerdirect/phpcodesniffer-composer-installer": true
  125. },
  126. "sort-packages": true
  127. }
  128. }