]> git.mxchange.org Git - friendica.git/blob - composer.json
Added another context
[friendica.git] / composer.json
1 {
2         "name": "friendica/friendica",
3         "description": "A decentralized social network part of The Federation",
4         "type": "project",
5         "keywords": [
6                 "social network",
7                 "dfrn",
8                 "ostatus",
9                 "diaspora"
10         ],
11         "license": "AGPL-3.0+",
12         "support": {
13                 "issues": "https://github.com/friendica/friendica/issues"
14         },
15         "require": {
16                 "php": ">=7.3",
17                 "ext-ctype": "*",
18                 "ext-curl": "*",
19                 "ext-dom": "*",
20                 "ext-fileinfo": "*",
21                 "ext-gd": "*",
22                 "ext-iconv": "*",
23                 "ext-json": "*",
24                 "ext-libxml": "*",
25                 "ext-mbstring": "*",
26                 "ext-openssl": "*",
27                 "ext-posix": "*",
28                 "ext-simplexml": "*",
29                 "ext-xml": "*",
30                 "asika/simple-console": "^1.0",
31                 "bacon/bacon-qr-code": "^2.0.0",
32                 "divineomega/password_exposed": "^2.8",
33                 "enyo/dropzone": "^5.9",
34                 "ezyang/htmlpurifier": "^4.7",
35                 "friendica/json-ld": "^1.0",
36                 "geekwright/po": "^2.0",
37                 "guzzlehttp/guzzle": "^6.5",
38                 "guzzlehttp/oauth-subscriber": "^0.6",
39                 "kornrunner/blurhash": "^1.2",
40                 "league/html-to-markdown": "^4.8",
41                 "level-2/dice": "^4",
42                 "lightopenid/lightopenid": "dev-master",
43                 "matriphe/iso-639": "^1.2",
44                 "mattwright/urlresolver": "^2.0",
45                 "michelf/php-markdown": "^1.7",
46                 "minishlink/web-push": "^6.0",
47                 "mobiledetect/mobiledetectlib": "^2.8",
48                 "nikic/fast-route": "^1.3",
49                 "paragonie/hidden-string": "^1.0",
50                 "patrickschur/language-detection": "^5.0.0",
51                 "pear/console_table": "^1.3",
52                 "phpseclib/phpseclib": "^3.0",
53                 "pragmarx/google2fa": "^5.0",
54                 "pragmarx/recovery": "^0.2",
55                 "psr/clock": "^1.0",
56                 "psr/container": "^1.0",
57                 "psr/log": "^1.1",
58                 "seld/cli-prompt": "^1.0",
59                 "smarty/smarty": "^4",
60                 "ua-parser/uap-php": "^3.9",
61                 "xemlock/htmlpurifier-html5": "^0.1.11",
62                 "fxp/composer-asset-plugin": "^1.4",
63                 "bower-asset/base64": "^1.0",
64                 "bower-asset/chart-js": "^2.8",
65                 "bower-asset/dompurify": "^1.0",
66                 "bower-asset/fork-awesome": "^1.1",
67                 "npm-asset/cropperjs": "1.2.2",
68                 "npm-asset/es-jquery-sortable": "^0.9.13",
69                 "npm-asset/fullcalendar": "^3.10",
70                 "npm-asset/imagesloaded": "4.1.4",
71                 "npm-asset/jquery": "^2.0",
72                 "npm-asset/jquery-colorbox": "^1.6",
73                 "npm-asset/jquery-datetimepicker": "^2.5",
74                 "npm-asset/jgrowl": "^1.4",
75                 "npm-asset/moment": "^2.24",
76                 "npm-asset/perfect-scrollbar": "0.6.16",
77                 "npm-asset/textcomplete": "^0.18.2",
78                 "npm-asset/typeahead.js": "^0.11.1"
79         },
80         "suggest": {
81                 "ext-imagick": "For faster image processing",
82                 "ext-redis": "To use Redis as a locking or caching provider",
83                 "ext-pdo": "To use PDO as a database driver, has priority over mysqli unless database.disable_pdo is set",
84                 "ext-mysqli": "To use mysqli as a databse driver"
85         },
86         "repositories": [
87                 {
88                         "type": "vcs",
89                         "url": "https://git.friendi.ca/friendica/php-json-ld"
90                 }
91         ],
92         "autoload": {
93                 "psr-4": {
94                         "Friendica\\": "src/",
95                         "Friendica\\Addon\\": "addon/"
96                 }
97         },
98         "autoload-dev": {
99                 "psr-4": {
100                         "Friendica\\Test\\": "tests/"
101                 }
102         },
103         "config": {
104                 "platform": {
105                         "php": "7.3"
106                 },
107                 "autoloader-suffix": "Friendica",
108                 "optimize-autoloader": true,
109                 "preferred-install": "dist",
110                 "fxp-asset": {
111                         "installer-paths": {
112                                 "npm-asset-library": "view/asset",
113                                 "bower-asset-library": "view/asset"
114                         }
115                 }
116         },
117         "archive": {
118                 "exclude": [
119                         "/.*",
120                         "/*file",
121                         "!/.htaccess-dist",
122                         "/tests",
123                         "/*.xml",
124                         "/composer.*",
125                         "/log",
126                         "/cache",
127                         "/photo",
128                         "/proxy",
129                         "/addon",
130                         "!/vendor",
131                         "!/view/asset"
132                 ]
133         },
134         "require-dev": {
135                 "mockery/mockery": "^1.3",
136                 "mikey179/vfsstream": "^1.6",
137                 "phpunit/phpunit": "^9",
138                 "dms/phpunit-arraysubset-asserts": "^0.3.1"
139         },
140         "scripts": {
141                 "test": "phpunit",
142                 "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './view/asset/*' -print0 | xargs -0 -n1 php -l",
143                 "docker:translate": "docker run --rm -v $PWD:/data -w /data friendicaci/transifex bin/run_xgettext.sh",
144                 "cs:install": "@composer install --working-dir=bin/dev/php-cs-fixer",
145                 "cs:check": [
146                         "@cs:install",
147                         "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff"
148                 ],
149                 "cs:fix": [
150                         "@cs:install",
151                         "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix"
152                 ]
153         }
154 }