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.30.0",
35        "commonmark/commonmark.js": "0.30.0",
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",
44        "scrutinizer/ocular": "^1.8.1",
45        "symfony/finder": "^5.3 | ^6.0",
46        "symfony/yaml": "^2.3 | ^3.0 | ^4.0 | ^5.0 | ^6.0",
47        "unleashedtech/php-coding-standard": "^3.1.1",
48        "vimeo/psalm": "^4.24.0 || ^5.0.0"
49    },
50    "minimum-stability": "beta",
51    "suggest": {
52        "symfony/yaml": "v2.3+ required if using the Front Matter extension"
53    },
54    "repositories": [
55        {
56            "type": "package",
57            "package": {
58                "name": "commonmark/commonmark.js",
59                "version": "0.30.0",
60                "dist": {
61                    "url": "https://github.com/commonmark/commonmark.js/archive/0.30.0.zip",
62                    "type": "zip"
63                }
64            }
65        },
66        {
67            "type": "package",
68            "package": {
69                "name": "commonmark/cmark",
70                "version": "0.30.0",
71                "dist": {
72                    "url": "https://github.com/commonmark/cmark/archive/0.30.0.zip",
73                    "type": "zip"
74                }
75            }
76        },
77        {
78            "type": "package",
79            "package": {
80                "name": "github/gfm",
81                "version": "0.29.0",
82                "dist": {
83                    "url": "https://github.com/github/cmark-gfm/archive/0.29.0.gfm.9.zip",
84                    "type": "zip"
85                }
86            }
87        }
88    ],
89    "autoload": {
90        "psr-4": {
91            "League\\CommonMark\\": "src"
92        }
93    },
94    "autoload-dev": {
95        "psr-4": {
96            "League\\CommonMark\\Tests\\Unit\\": "tests/unit",
97            "League\\CommonMark\\Tests\\Functional\\": "tests/functional",
98            "League\\CommonMark\\Tests\\PHPStan\\": "tests/phpstan"
99        }
100    },
101    "scripts": {
102        "phpcs": "phpcs",
103        "phpstan": "phpstan analyse",
104        "phpunit": "phpunit --no-coverage",
105        "psalm": "psalm --stats",
106        "test": [
107            "@phpcs",
108            "@phpstan",
109            "@psalm",
110            "@phpunit"
111        ]
112    },
113    "extra": {
114        "branch-alias": {
115            "dev-main": "2.5-dev"
116        }
117    },
118    "config": {
119        "allow-plugins": {
120            "composer/package-versions-deprecated": true,
121            "dealerdirect/phpcodesniffer-composer-installer": true
122        },
123        "sort-packages": true
124    }
125}
126