-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
99 lines (99 loc) · 3.46 KB
/
Copy pathcomposer.json
File metadata and controls
99 lines (99 loc) · 3.46 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "nowo-tech/word-template-bundle",
"description": "Symfony bundle: fill .docx Word templates (PHPWord TemplateProcessor) from a context array \u2014 scalars, rich HTML, table rows, images.",
"type": "symfony-bundle",
"license": "MIT",
"keywords": [
"symfony",
"symfony-bundle",
"word",
"docx",
"phpword",
"template",
"mail-merge",
"php",
"frankenphp"
],
"homepage": "https://packagist.org/packages/nowo-tech/word-template-bundle",
"support": {
"issues": "https://github.com/nowo-tech/WordTemplateBundle/issues",
"source": "https://github.com/nowo-tech/WordTemplateBundle",
"docs": "https://github.com/nowo-tech/WordTemplateBundle/tree/main/docs",
"changelog": "https://github.com/nowo-tech/WordTemplateBundle/blob/main/docs/CHANGELOG.md"
},
"authors": [
{
"name": "H\u00e9ctor Franco Aceituno",
"email": "hectorfranco@nowo.tech"
},
{
"name": "Nowo.tech",
"homepage": "https://nowo.tech"
}
],
"require": {
"php": ">=8.2 <8.6",
"ext-dom": "*",
"ext-json": "*",
"ext-libxml": "*",
"ext-zip": "*",
"phpoffice/phpword": "^1.3",
"symfony/config": "^7.0 || ^8.0",
"symfony/dependency-injection": "^7.0 || ^8.0",
"symfony/http-kernel": "^7.0 || ^8.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"nowo-tech/phpstan-frankenphp": "^1.0",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-phpunit": "^2.0",
"phpstan/phpstan-symfony": "^2.0",
"phpunit/phpunit": "^11.0",
"rector/rector": "^2.0",
"symfony/framework-bundle": "^7.0 || ^8.0",
"symfony/yaml": "^7.0 || ^8.0"
},
"autoload": {
"psr-4": {
"Nowo\\WordTemplateBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Nowo\\WordTemplateBundle\\Tests\\": "tests/"
}
},
"suggest": {
"nowo-tech/html-to-word-bundle": "Optional: build .docx from full HTML when you do not use a Word template (WYSIWYG \u2192 DOCX pipeline)."
},
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
},
"minimum-stability": "stable",
"prefer-stable": true,
"archive": {
"exclude": [
"/demo",
"/.cursor"
]
},
"scripts": {
"test": "@php vendor/bin/phpunit --colors=always",
"test-coverage": "@php -d pcov.enabled=1 vendor/bin/phpunit --colors=always --coverage-text --coverage-clover=coverage.xml | tee coverage-php.txt && sh .scripts/php-coverage-percent.sh coverage-php.txt",
"coverage-check": "@php -d pcov.enabled=1 vendor/bin/phpunit --colors=always --coverage-text=coverage-output.txt --coverage-clover=coverage.xml && sh .scripts/coverage-fail-under.sh coverage-output.txt 99",
"cs-check": "@php vendor/bin/php-cs-fixer fix --dry-run --diff",
"cs-fix": "@php vendor/bin/php-cs-fixer fix",
"phpstan": "@php vendor/bin/phpstan analyse --memory-limit=512M",
"qa": [
"@cs-check",
"@phpstan",
"@test"
],
"rector": "@php vendor/bin/rector --no-progress-bar",
"rector-dry": "@php vendor/bin/rector --dry-run --no-progress-bar"
}
}