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