Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
46 lines (46 loc) · 1.58 KB
/
Copy pathcomposer.json
File metadata and controls
46 lines (46 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"name": "dskripchenko/php-docx",
"description": "The HTML layer for PHPWord pipelines and a standalone DOCX-HTML round-trip library: read arbitrary Word/Google Docs/LibreOffice/PHPWord documents to a typed AST and clean HTML, convert HTML to DOCX, detect MERGEFIELD/content-control/{{placeholder}} template variables. Pure PHP, zero dependencies.",
"type": "library",
"license": "MIT",
"keywords": ["docx", "ooxml", "word", "html-to-docx", "docx-to-html", "docx-parser", "docx-reader", "docx-writer", "phpword-alternative", "phpword-html", "mail-merge", "mergefield", "template"],
"authors": [
{
"name": "Denis Skripchenko",
"email": "denskrp90@gmail.com"
}
],
"require": {
"php": "^8.2",
"ext-dom": "*",
"ext-mbstring": "*",
"ext-zip": "*"
},
"suggest": {
"tijsverkoyen/css-to-inline-styles": "Enables Converter::fromHtmlWithStyles() — inlines <style> blocks and CSS classes before HTML conversion (^2.2)"
},
"require-dev": {
"tijsverkoyen/css-to-inline-styles": "^2.2",
"phpunit/phpunit": "^11.5",
"phpstan/phpstan": "^2.0"
},
"autoload": {
"psr-4": {
"Dskripchenko\\PhpDocx\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Dskripchenko\\PhpDocx\\Tests\\": "tests/"
}
},
"scripts": {
"test": "phpunit",
"stan": "phpstan analyse --memory-limit=1G"
},
"config": {
"sort-packages": true
},
"minimum-stability": "stable",
"prefer-stable": true
}