bring in line with #24176
[civicrm-core.git] / composer.json
1 {
2 "name": "civicrm/civicrm-core",
3 "description": "Open source constituent relationship management for non-profits, NGOs and advocacy organizations.",
4 "type": "library",
5 "license": "AGPL-3.0",
6 "authors": [
7 {
8 "name": "Coleman Watts",
9 "role": "Product Manager"
10 },
11 {
12 "name": "Joshua Gowans",
13 "role": "Project Manager"
14 },
15 {
16 "name": "Mathieu Lutfy",
17 "role": "Infrastructure"
18 },
19 {
20 "name": "Tim Otten",
21 "role": "Software Architect"
22 },
23 {
24 "name": "CiviCRM Community",
25 "homepage": "https://civicrm.org"
26 }
27 ],
28 "autoload": {
29 "psr-0": {
30 "PHPUnit_": ["packages/"],
31 "Civi": "",
32 "Civi\\": ["tests/phpunit/"]
33 },
34 "psr-4": {
35 "Civi\\": [".", "Civi/", "setup/src/"]
36 },
37 "files": [
38 "guzzle_php81_shim.php"
39 ]
40 },
41 "include-path": ["vendor/tecnickcom"],
42 "config": {
43 "platform": {
44 "php": "7.2.5"
45 },
46 "allow-plugins": {
47 "civicrm/composer-compile-plugin": true,
48 "civicrm/composer-downloads-plugin": true,
49 "cweagans/composer-patches": true
50 }
51 },
52 "require": {
53 "php": "~7.2.5 || ~7.3 || ~8",
54 "cache/integration-tests": "~0.17.0",
55 "dompdf/dompdf" : "~2",
56 "firebase/php-jwt": ">=3 <6",
57 "rubobaquero/phpquery": "^0.9.15",
58 "symfony/config": "~4.4",
59 "symfony/polyfill-iconv": "~1.0",
60 "symfony/dependency-injection": "~4.4",
61 "symfony/event-dispatcher": "~4.4",
62 "symfony/filesystem": "~4.4",
63 "symfony/process": "~4.4",
64 "symfony/var-dumper": "~3.0 || ~4.4 || ~5.1",
65 "symfony/service-contracts": "~2.2",
66 "psr/log": "~1.0 || ~2.0 || ~3.0",
67 "symfony/finder": "~4.4",
68 "tecnickcom/tcpdf" : "6.4.*",
69 "totten/ca-config": "~22.05",
70 "zetacomponents/base": "1.9.*",
71 "zetacomponents/mail": "1.9.*",
72 "marcj/topsort": "~1.1",
73 "phpoffice/phpword": "^0.18.0",
74 "pear/validate_finance_creditcard": "0.7.0",
75 "civicrm/civicrm-cxn-rpc": "~0.20.12.01 || ~0.19.01.10",
76 "pear/auth_sasl": "1.1.0",
77 "pear/net_smtp": "1.10.*",
78 "pear/net_socket": "1.0.*",
79 "pear/mail": "^1.4",
80 "guzzlehttp/guzzle": "^6.3 || ^7.3",
81 "psr/simple-cache": "~1.0.1",
82 "cweagans/composer-patches": "~1.0",
83 "pear/log": "1.13.3",
84 "adrienrn/php-mimetyper": "0.2.2",
85 "civicrm/composer-downloads-plugin": "^3.0",
86 "league/csv": "~9.6.2",
87 "league/oauth2-client": "^2.4",
88 "league/oauth2-google": "^3.0",
89 "tplaner/when": "~3.0.0",
90 "xkerman/restricted-unserialize": "~1.1",
91 "typo3/phar-stream-wrapper": "^2 || ^3.0",
92 "brick/money": "~0.5",
93 "ext-intl": "*",
94 "pear/mail_mime": "~1.10",
95 "pear/db": "1.11",
96 "civicrm/composer-compile-lib": "~0.6 || ~1.0",
97 "ext-json": "*",
98 "ezyang/htmlpurifier": "^4.13",
99 "phpoffice/phpspreadsheet": "^1.18",
100 "symfony/polyfill-php73": "^1.23",
101 "symfony/polyfill-php74": "^1.0",
102 "symfony/polyfill-php80": "^1.0",
103 "symfony/polyfill-php81": "^1.0",
104 "symfony/polyfill-php82": "^1.0",
105 "html2text/html2text": "^4.3.1",
106 "psr/container": "~1.0"
107 },
108 "scripts": {
109 "post-install-cmd": [
110 "bash tools/scripts/composer/dompdf-cleanup.sh",
111 "bash tools/scripts/composer/tcpdf-cleanup.sh",
112 "bash tools/scripts/composer/pear-exception-fix.sh",
113 "bash tools/scripts/composer/net-smtp-fix.sh",
114 "bash tools/scripts/composer/pear-mail-fix.sh",
115 "bash tools/scripts/composer/phpword-jquery.sh",
116 "bash tools/scripts/composer/guzzle-mockhandler-fix.sh"
117 ],
118 "post-update-cmd": [
119 "bash tools/scripts/composer/dompdf-cleanup.sh",
120 "bash tools/scripts/composer/tcpdf-cleanup.sh",
121 "bash tools/scripts/composer/pear-exception-fix.sh",
122 "bash tools/scripts/composer/net-smtp-fix.sh",
123 "bash tools/scripts/composer/pear-mail-fix.sh",
124 "bash tools/scripts/composer/phpword-jquery.sh",
125 "bash tools/scripts/composer/guzzle-mockhandler-fix.sh"
126 ]
127 },
128 "repositories": {
129 "tplaner-when-1ec099f421bff354cc5c929f83b94031423fc80": {
130 "type": "package",
131 "package": {
132 "version": "3.0.0+php53",
133 "dist": {"url": "https://github.com/tplaner/When/archive/c1ec099f421bff354cc5c929f83b94031423fc80.zip", "type": "zip"},
134 "name": "tplaner/when",
135 "type": "library",
136 "description": "Date/Calendar recursion library.",
137 "keywords": ["recurrence", "date", "time", "DateTime"],
138 "homepage": "https://github.com/tplaner/When",
139 "license": "MIT",
140 "authors": [{"name": "Tom Planer", "email": "tplaner@gmail.com"}],
141 "require": {"php": ">=5.3.0"},
142 "require-dev": {"phpunit/phpunit": "~4.0"},
143 "autoload": {"psr-4": {"When\\": "src/"}}
144 }
145 }
146 },
147 "extra": {
148 "downloads": {
149 "*": {
150 "path": "bower_components/{$id}"
151 },
152 "angular": {
153 "url": "https://github.com/angular/bower-angular/archive/v1.8.2.zip"
154 },
155 "angular-bootstrap": {
156 "url": "https://github.com/angular-ui/bootstrap-bower/archive/2.5.0.zip"
157 },
158 "angular-file-upload": {
159 "url": "https://github.com/nervgh/angular-file-upload/archive/2.6.1.zip",
160 "ignore": ["examples", "src"]
161 },
162 "angular-jquery-dialog-service": {
163 "url": "https://github.com/totten/angular-jquery-dialog-service/archive/v0.8.0-civicrm-1.0.zip"
164 },
165 "angular-mocks": {
166 "url": "https://github.com/angular/bower-angular-mocks/archive/v1.8.0.zip"
167 },
168 "angular-route": {
169 "url": "https://github.com/angular/bower-angular-route/archive/v1.8.0.zip"
170 },
171 "angular-sanitize": {
172 "url": "https://github.com/angular/bower-angular-sanitize/archive/v1.8.0.zip"
173 },
174 "angular-ui-sortable": {
175 "url": "https://github.com/angular-ui/ui-sortable/archive/v0.19.0.zip"
176 },
177 "angular-unsavedChanges": {
178 "url": "https://github.com/facultymatt/angular-unsavedChanges/archive/v0.1.1.zip",
179 "ignore": [".*", "node_modules", "bower_components", "test", "tests"]
180 },
181 "angular-xeditable": {
182 "url": "https://github.com/vitalets/angular-xeditable/archive/0.9.0.zip",
183 "ignore": [".*", "node_modules", "bower_components", "playground", "test", "libs", "docs", "zip", "src", "starter", "Gruntfile.js", "index.html", "jsdoc.conf.json", "package.json"]
184 },
185 "checklist-model": {
186 "url": "https://github.com/vitalets/checklist-model/archive/1.0.0.zip",
187 "ignore": [".*", "node_modules", "docs", "Gruntfile.js", "index.html", "package.json", "test"]
188 },
189 "ckeditor": {
190 "url": "https://github.com/ckeditor/ckeditor-releases/archive/4.18.0.zip"
191 },
192 "crossfilter-1.3.x": {
193 "url": "https://github.com/crossfilter/crossfilter/archive/1.3.14.zip",
194 "ignore": [".*", "node_modules", "bower_components", "src", "lib", "test", "component.json", "package.json", "index.js", "Makefile"]
195 },
196 "crossfilter2": {
197 "url": "https://github.com/crossfilter/crossfilter/archive/1.4.7.zip",
198 "ignore": [".*", "node_modules", "bower_components", "package.json", "index.js", "src", "component.json", "media", "test", "tests"]
199 },
200 "css-color-names": {
201 "url": "https://github.com/bahamas10/css-color-names/archive/v1.0.1.zip"
202 },
203 "d3": {
204 "url": "https://github.com/mbostock-bower/d3-bower/archive/v3.4.11.zip",
205 "ignore": [".DS_Store", ".git", ".gitignore", ".npmignore", ".travis.yml", "Makefile", "bin", "component.json", "index.js", "lib", "node_modules", "package.json", "src", "test"]
206 },
207 "d3-3.5.x": {
208 "url": "https://github.com/mbostock-bower/d3-bower/archive/v3.5.17.zip"
209 },
210 "datatables": {
211 "url": "https://github.com/DataTables/DataTables/archive/1.10.19.zip",
212 "ignore": ["/.*", "examples", "media/unit_testing", "composer.json", "dataTables.jquery.json", "package.json"]
213 },
214 "dc-2.1.x": {
215 "url": "https://github.com/NickQiZhu/dc.js/archive/2.1.10.zip",
216 "ignore": [".*", "style", "web", "*.json", "regression", "scripts", "spec", "src", "docs", "grunt", "Gruntfile.js", "Changelog.md", "welcome.md", "class-hierarchy.dot", "index.js", "CONTRIBUTING.md", "LICENSE_BANNER", "AUTHORS"]
217 },
218 "es6-promise": {
219 "url": "https://github.com/components/es6-promise/archive/v4.2.4.zip"
220 },
221 "ext-greenwich-bootstrap3": {
222 "url": "https://github.com/twbs/bootstrap-sass/archive/v{$version}.zip",
223 "path": "ext/greenwich/extern/bootstrap3",
224 "version": "3.4.1",
225 "ignore": ["test", "tasks", "lib"]
226 },
227 "font-awesome": {
228 "url": "https://github.com/FortAwesome/Font-Awesome/archive/v4.7.0.zip",
229 "ignore": ["*/.*", "*.json", "src", "*.yml", "Gemfile", "Gemfile.lock", "*.md"]
230 },
231 "marked": {
232 "url": "https://github.com/markedjs/marked/archive/v0.8.0.zip",
233 "ignore": [".*", "*.json", "*.md", "Makefile", "*/*"]
234 },
235 "monaco-editor": {
236 "url": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.25.2.tgz",
237 "path": "bower_components/monaco-editor",
238 "ignore": ["dev", "esm"]
239 },
240 "google-code-prettify": {
241 "url": "https://github.com/tcollard/google-code-prettify/archive/v1.0.5.zip",
242 "ignore": ["closure-compiler", "js-modules", "tests", "yui-compressor", "Makefile", "examples", "*.html", "run_prettify*js"]
243 },
244 "jquery": {
245 "url": "https://github.com/civicrm/jquery/archive/1.12.4-civicrm-1.2.zip"
246 },
247 "jquery-ui": {
248 "url": "https://github.com/civicrm/jqueryui/archive/1.13.1-civicrm.zip"
249 },
250 "jquery-validation": {
251 "url": "https://github.com/jquery-validation/jquery-validation/archive/1.19.3.zip",
252 "ignore": [".*", "node_modules", "bower_components", "test", "demo", "lib"]
253 },
254 "json-formatter": {
255 "url": "https://github.com/mohsen1/json-formatter/archive/v{$version}.zip",
256 "version": "0.7.0",
257 "ignore": ["demo", "test", "screenshot.png"]
258 },
259 "jstree": {
260 "url": "https://github.com/vakata/jstree/archive/3.3.8.zip",
261 "ignore": [".*", "docs", "demo", "libs", "node_modules", "test", "libs", "jstree.jquery.json", "gruntfile.js", "package.json", "bower.json", "component.json", "LICENCE-MIT", "README.md"]
262 },
263 "lodash-compat": {
264 "url": "https://github.com/lodash/lodash-compat/archive/3.0.1.zip",
265 "ignore": [".*", "*.log", "*.md", "component.json", "package.json", "node_modules"]
266 },
267 "phantomjs-polyfill": {
268 "url": "https://github.com/conversocial/phantomjs-polyfill/archive/v0.0.2.zip"
269 },
270 "select2": {
271 "url": "https://github.com/colemanw/select2/archive/v3.5-civicrm-1.0.zip"
272 },
273 "js-yaml": {
274 "url": "https://github.com/nodeca/js-yaml/archive/3.13.1.zip",
275 "ignore": ["benchmark", "bin", "demo", "examples", "lib", "support", "test"]
276 },
277 "smartmenus": {
278 "url": "https://github.com/vadikom/smartmenus/archive/1.1.0.zip",
279 "ignore": [".gitignore", "Gruntfile.js"]
280 },
281 "sms-counter": {
282 "url": "https://github.com/danxexe/sms-counter/archive/master.zip",
283 "ignore": ["examples"]
284 }
285 },
286 "patches": {
287 "adrienrn/php-mimetyper": {
288 "Update gitignore to ensure that sites that manage via git don't miss out on the important db.json file": "https://patch-diff.githubusercontent.com/raw/adrienrn/php-mimetyper/pull/15.patch"
289 },
290 "league/csv": {
291 "Adding in eol support to fputcsv for php8.1": "https://raw.githubusercontent.com/civicrm/civicrm-core/cacdbfaeaed8e04d504bf2fc604536137c03abeb/tools/scripts/composer/leage_csv_fputcsv.patch",
292 "Remove deprecated flag from php8.1": "https://github.com/thephpleague/csv/commit/380f884922a6cdaaaaab3ad4bfc7d1d710af736e.patch",
293 "Fix php8.1 deprecation errors part 1": "https://github.com/thephpleague/csv/commit/613db0b20157a1114cb1f9a801bd4c9c1f609cdf.patch",
294 "Fix php8.1 deprecation errors part 2": "https://github.com/thephpleague/csv/commit/49e2b08ca025ebaf87a904b5645f535c807b6f10.patch",
295 "Fix php8.1 notice issues part 3": "https://github.com/thephpleague/csv/commit/b83e972caea3cd22e7aaf65c5cffff1d49b46b69.patch"
296 },
297 "html2text/html2text": {
298 "Fix deprecation warning in php8.1 on html_entity_decode": "https://raw.githubusercontent.com/civicrm/civicrm-core/e758d20e9f613ca6c4cf652c23d2cd7e5d3af3ce/tools/scripts/composer/html2text_html2_text_php81_deprecation.patch"
299 },
300 "pear/db": {
301 "Apply patch to ensure that MySQLI reporting remains the same in php8.1": "https://patch-diff.githubusercontent.com/raw/pear/DB/pull/13.patch",
302 "Apply CiviCRM Customisations for the pear:db package": "https://raw.githubusercontent.com/civicrm/civicrm-core/2ad420c394/tools/scripts/composer/pear_db_civicrm_changes.patch"
303 },
304 "pear/log": {
305 "Apply patch for php8.1": "https://patch-diff.githubusercontent.com/raw/pear/Log/pull/23.patch"
306 },
307 "pear/mail": {
308 "Apply CiviCRM Customisations for CRM-1367 and CRM-5946": "https://raw.githubusercontent.com/civicrm/civicrm-core/36319938a5bf26c1e7e2110a26a65db6a5979268/tools/scripts/composer/patches/pear-mail.patch"
309 },
310 "pear/mail_mime": {
311 "Apply patch for CRM-3133 wordwrap body to be 750 characters to apply with RFC 2821": "https://raw.githubusercontent.com/civicrm/civicrm-core/74e25f27bb3be32519657539afe8a285c6c99a08/tools/scripts/composer/patches/mail_mime_crm_3133.patch"
312 },
313 "pear/net_smtp": {
314 "Add in CiviCRM custom error message for CRM-8744": "https://raw.githubusercontent.com/civicrm/civicrm-core/a6a0ff13d2a155ad962529595dceaef728116f96/tools/scripts/composer/patches/net-smtp-patch.patch"
315 },
316 "phpoffice/phpword": {
317 "PHP8.1 fix for passing null value into strlen": "https://patch-diff.githubusercontent.com/raw/PHPOffice/PHPWord/pull/2272.patch"
318 },
319 "zetacomponents/mail": {
320 "PHP 8.1 Compatability fixes": "https://patch-diff.githubusercontent.com/raw/zetacomponents/Mail/pull/88.patch",
321 "CiviCRM Custom Patches for ZetaCompoents mail": "https://raw.githubusercontent.com/civicrm/civicrm-core/9d93748a36c7c5d44422911db1c98fb2f7067b34/tools/scripts/composer/patches/civicrm-custom-patches-zetacompoents-mail.patch",
322 "Allow single quotes to be used in return path": "https://github.com/zetacomponents/Mail/pull/86.patch",
323 "CiviCRM Custom patch to fix a php8.1 issue found in CiviCRM unit tests": "https://raw.githubusercontent.com/civicrm/civicrm-core/5506f4ce5d46799857b4f4ddf34069e7541e9cc5/tools/scripts/composer/zetacomponents-php-81-civicrm-custom.patch"
324 }
325 },
326 "compile-includes": ["ext/greenwich/composer.compile.json"],
327 "compile-whitelist": ["civicrm/composer-compile-lib"]
328 }
329 }