Merge pull request #23841 from civicrm/5.51
[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 },
38 "include-path": ["vendor/tecnickcom"],
39 "config": {
40 "platform": {
41 "php": "7.2.5"
42 },
43 "allow-plugins": {
44 "civicrm/composer-compile-plugin": true,
45 "civicrm/composer-downloads-plugin": true,
46 "cweagans/composer-patches": true
47 }
48 },
49 "require": {
50 "php": "~7.2.5 || ~7.3 || ~8",
51 "cache/integration-tests": "~0.17.0",
52 "dompdf/dompdf" : "~1.2.1",
53 "firebase/php-jwt": ">=3 <6",
54 "rubobaquero/phpquery": "^0.9.15",
55 "symfony/config": "~3.0 || ~4.4",
56 "symfony/polyfill-iconv": "~1.0",
57 "symfony/dependency-injection": "~3.0 || ~4.4",
58 "symfony/event-dispatcher": "~3.0 || ~4.4",
59 "symfony/filesystem": "~3.0 || ~4.4",
60 "symfony/process": "~3.0 || ~4.4",
61 "symfony/var-dumper": "~3.0 || ~4.4 || ~5.1",
62 "psr/log": "~1.0 || ~2.0 || ~3.0",
63 "symfony/finder": "~3.0 || ~4.4",
64 "tecnickcom/tcpdf" : "6.4.*",
65 "totten/ca-config": "~22.05",
66 "zetacomponents/base": "1.9.*",
67 "zetacomponents/mail": "1.9.*",
68 "marcj/topsort": "~1.1",
69 "phpoffice/phpword": "^0.18.0",
70 "pear/validate_finance_creditcard": "0.7.0",
71 "civicrm/civicrm-cxn-rpc": "~0.20.12.01 || ~0.19.01.10",
72 "pear/auth_sasl": "1.1.0",
73 "pear/net_smtp": "1.9.*",
74 "pear/net_socket": "1.0.*",
75 "pear/mail": "^1.4",
76 "guzzlehttp/guzzle": "^6.3",
77 "psr/simple-cache": "~1.0.1",
78 "cweagans/composer-patches": "~1.0",
79 "pear/log": "1.13.3",
80 "adrienrn/php-mimetyper": "0.2.2",
81 "civicrm/composer-downloads-plugin": "^3.0",
82 "league/csv": "^9.6",
83 "league/oauth2-client": "^2.4",
84 "league/oauth2-google": "^3.0",
85 "tplaner/when": "~3.0.0",
86 "xkerman/restricted-unserialize": "~1.1",
87 "typo3/phar-stream-wrapper": "^2 || ^3.0",
88 "brick/money": "~0.5",
89 "ext-intl": "*",
90 "pear/mail_mime": "~1.10",
91 "pear/db": "1.11",
92 "civicrm/composer-compile-lib": "~0.3 || ~1.0",
93 "ext-json": "*",
94 "ezyang/htmlpurifier": "^4.13",
95 "phpoffice/phpspreadsheet": "^1.18",
96 "symfony/polyfill-php73": "^1.23"
97 },
98 "scripts": {
99 "post-install-cmd": [
100 "bash tools/scripts/composer/dompdf-cleanup.sh",
101 "bash tools/scripts/composer/tcpdf-cleanup.sh",
102 "bash tools/scripts/composer/pear-exception-fix.sh",
103 "bash tools/scripts/composer/net-smtp-fix.sh",
104 "bash tools/scripts/composer/pear-mail-fix.sh",
105 "bash tools/scripts/composer/phpword-jquery.sh"
106 ],
107 "post-update-cmd": [
108 "bash tools/scripts/composer/dompdf-cleanup.sh",
109 "bash tools/scripts/composer/tcpdf-cleanup.sh",
110 "bash tools/scripts/composer/pear-exception-fix.sh",
111 "bash tools/scripts/composer/net-smtp-fix.sh",
112 "bash tools/scripts/composer/pear-mail-fix.sh",
113 "bash tools/scripts/composer/phpword-jquery.sh"
114 ]
115 },
116 "repositories": {
117 "tplaner-when-1ec099f421bff354cc5c929f83b94031423fc80": {
118 "type": "package",
119 "package": {
120 "version": "3.0.0+php53",
121 "dist": {"url": "https://github.com/tplaner/When/archive/c1ec099f421bff354cc5c929f83b94031423fc80.zip", "type": "zip"},
122 "name": "tplaner/when",
123 "type": "library",
124 "description": "Date/Calendar recursion library.",
125 "keywords": ["recurrence", "date", "time", "DateTime"],
126 "homepage": "https://github.com/tplaner/When",
127 "license": "MIT",
128 "authors": [{"name": "Tom Planer", "email": "tplaner@gmail.com"}],
129 "require": {"php": ">=5.3.0"},
130 "require-dev": {"phpunit/phpunit": "~4.0"},
131 "autoload": {"psr-4": {"When\\": "src/"}}
132 }
133 }
134 },
135 "extra": {
136 "downloads": {
137 "*": {
138 "path": "bower_components/{$id}"
139 },
140 "angular": {
141 "url": "https://github.com/angular/bower-angular/archive/v1.8.2.zip"
142 },
143 "angular-bootstrap": {
144 "url": "https://github.com/angular-ui/bootstrap-bower/archive/2.5.0.zip"
145 },
146 "angular-file-upload": {
147 "url": "https://github.com/nervgh/angular-file-upload/archive/2.6.1.zip",
148 "ignore": ["examples", "src"]
149 },
150 "angular-jquery-dialog-service": {
151 "url": "https://github.com/totten/angular-jquery-dialog-service/archive/v0.8.0-civicrm-1.0.zip"
152 },
153 "angular-mocks": {
154 "url": "https://github.com/angular/bower-angular-mocks/archive/v1.8.0.zip"
155 },
156 "angular-route": {
157 "url": "https://github.com/angular/bower-angular-route/archive/v1.8.0.zip"
158 },
159 "angular-sanitize": {
160 "url": "https://github.com/angular/bower-angular-sanitize/archive/v1.8.0.zip"
161 },
162 "angular-ui-sortable": {
163 "url": "https://github.com/angular-ui/ui-sortable/archive/v0.19.0.zip"
164 },
165 "angular-unsavedChanges": {
166 "url": "https://github.com/facultymatt/angular-unsavedChanges/archive/v0.1.1.zip",
167 "ignore": [".*", "node_modules", "bower_components", "test", "tests"]
168 },
169 "angular-xeditable": {
170 "url": "https://github.com/vitalets/angular-xeditable/archive/0.9.0.zip",
171 "ignore": [".*", "node_modules", "bower_components", "playground", "test", "libs", "docs", "zip", "src", "starter", "Gruntfile.js", "index.html", "jsdoc.conf.json", "package.json"]
172 },
173 "checklist-model": {
174 "url": "https://github.com/vitalets/checklist-model/archive/1.0.0.zip",
175 "ignore": [".*", "node_modules", "docs", "Gruntfile.js", "index.html", "package.json", "test"]
176 },
177 "ckeditor": {
178 "url": "https://github.com/ckeditor/ckeditor-releases/archive/4.18.0.zip"
179 },
180 "crossfilter-1.3.x": {
181 "url": "https://github.com/crossfilter/crossfilter/archive/1.3.14.zip",
182 "ignore": [".*", "node_modules", "bower_components", "src", "lib", "test", "component.json", "package.json", "index.js", "Makefile"]
183 },
184 "crossfilter2": {
185 "url": "https://github.com/crossfilter/crossfilter/archive/1.4.7.zip",
186 "ignore": [".*", "node_modules", "bower_components", "package.json", "index.js", "src", "component.json", "media", "test", "tests"]
187 },
188 "css-color-names": {
189 "url": "https://github.com/bahamas10/css-color-names/archive/v1.0.1.zip"
190 },
191 "d3": {
192 "url": "https://github.com/mbostock-bower/d3-bower/archive/v3.4.11.zip",
193 "ignore": [".DS_Store", ".git", ".gitignore", ".npmignore", ".travis.yml", "Makefile", "bin", "component.json", "index.js", "lib", "node_modules", "package.json", "src", "test"]
194 },
195 "d3-3.5.x": {
196 "url": "https://github.com/mbostock-bower/d3-bower/archive/v3.5.17.zip"
197 },
198 "datatables": {
199 "url": "https://github.com/DataTables/DataTables/archive/1.10.19.zip",
200 "ignore": ["/.*", "examples", "media/unit_testing", "composer.json", "dataTables.jquery.json", "package.json"]
201 },
202 "dc-2.1.x": {
203 "url": "https://github.com/NickQiZhu/dc.js/archive/2.1.10.zip",
204 "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"]
205 },
206 "es6-promise": {
207 "url": "https://github.com/components/es6-promise/archive/v4.2.4.zip"
208 },
209 "ext-greenwich-bootstrap3": {
210 "url": "https://github.com/twbs/bootstrap-sass/archive/v{$version}.zip",
211 "path": "ext/greenwich/extern/bootstrap3",
212 "version": "3.4.1",
213 "ignore": ["test", "tasks", "lib"]
214 },
215 "font-awesome": {
216 "url": "https://github.com/FortAwesome/Font-Awesome/archive/v4.7.0.zip",
217 "ignore": ["*/.*", "*.json", "src", "*.yml", "Gemfile", "Gemfile.lock", "*.md"]
218 },
219 "marked": {
220 "url": "https://github.com/markedjs/marked/archive/v0.8.0.zip",
221 "ignore": [".*", "*.json", "*.md", "Makefile", "*/*"]
222 },
223 "monaco-editor": {
224 "url": "https://registry.npmjs.org/monaco-editor/-/monaco-editor-0.25.2.tgz",
225 "path": "bower_components/monaco-editor",
226 "ignore": ["dev", "esm"]
227 },
228 "google-code-prettify": {
229 "url": "https://github.com/tcollard/google-code-prettify/archive/v1.0.5.zip",
230 "ignore": ["closure-compiler", "js-modules", "tests", "yui-compressor", "Makefile", "examples", "*.html", "run_prettify*js"]
231 },
232 "jquery": {
233 "url": "https://github.com/civicrm/jquery/archive/1.12.4-civicrm-1.2.zip"
234 },
235 "jquery-ui": {
236 "url": "https://github.com/civicrm/jqueryui/archive/1.13.1-civicrm.zip"
237 },
238 "jquery-validation": {
239 "url": "https://github.com/jquery-validation/jquery-validation/archive/1.19.3.zip",
240 "ignore": [".*", "node_modules", "bower_components", "test", "demo", "lib"]
241 },
242 "json-formatter": {
243 "url": "https://github.com/mohsen1/json-formatter/archive/v{$version}.zip",
244 "version": "0.7.0",
245 "ignore": ["demo", "test", "screenshot.png"]
246 },
247 "jstree": {
248 "url": "https://github.com/vakata/jstree/archive/3.3.8.zip",
249 "ignore": [".*", "docs", "demo", "libs", "node_modules", "test", "libs", "jstree.jquery.json", "gruntfile.js", "package.json", "bower.json", "component.json", "LICENCE-MIT", "README.md"]
250 },
251 "lodash-compat": {
252 "url": "https://github.com/lodash/lodash-compat/archive/3.0.1.zip",
253 "ignore": [".*", "*.log", "*.md", "component.json", "package.json", "node_modules"]
254 },
255 "phantomjs-polyfill": {
256 "url": "https://github.com/conversocial/phantomjs-polyfill/archive/v0.0.2.zip"
257 },
258 "select2": {
259 "url": "https://github.com/colemanw/select2/archive/v3.5-civicrm-1.0.zip"
260 },
261 "js-yaml": {
262 "url": "https://github.com/nodeca/js-yaml/archive/3.13.1.zip",
263 "ignore": ["benchmark", "bin", "demo", "examples", "lib", "support", "test"]
264 },
265 "smartmenus": {
266 "url": "https://github.com/vadikom/smartmenus/archive/1.1.0.zip",
267 "ignore": [".gitignore", "Gruntfile.js"]
268 },
269 "sms-counter": {
270 "url": "https://github.com/danxexe/sms-counter/archive/master.zip",
271 "ignore": ["examples"]
272 }
273 },
274 "patches": {
275 "adrienrn/php-mimetyper": {
276 "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"
277 },
278 "pear/db": {
279 "Apply CiviCRM Customisations for the pear:db package": "https://raw.githubusercontent.com/civicrm/civicrm-core/2ad420c394/tools/scripts/composer/pear_db_civicrm_changes.patch"
280 },
281 "pear/mail": {
282 "Apply CiviCRM Customisations for CRM-1367 and CRM-5946": "https://raw.githubusercontent.com/civicrm/civicrm-core/36319938a5bf26c1e7e2110a26a65db6a5979268/tools/scripts/composer/patches/pear-mail.patch"
283 },
284 "pear/mail_mime": {
285 "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"
286 },
287 "pear/net_smtp": {
288 "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"
289 },
290 "zetacomponents/mail": {
291 "CiviCRM Custom Patches for ZetaCompoents mail": "https://raw.githubusercontent.com/civicrm/civicrm-core/9d93748a36c7c5d44422911db1c98fb2f7067b34/tools/scripts/composer/patches/civicrm-custom-patches-zetacompoents-mail.patch",
292 "Allow single quotes to be used in return path": "https://github.com/zetacomponents/Mail/pull/86.patch"
293 }
294 },
295 "compile-includes": ["ext/greenwich/composer.compile.json"],
296 "compile-whitelist": ["civicrm/composer-compile-lib"]
297 }
298 }