]> git.mxchange.org Git - friendica.git/blob - composer.json
spelling: foreign
[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-simplexml": "*",
28                 "ext-xml": "*",
29                 "asika/simple-console": "^1.0",
30                 "bacon/bacon-qr-code": "^2.0.0",
31                 "divineomega/password_exposed": "^2.8",
32                 "enyo/dropzone": "^5.9",
33                 "ezyang/htmlpurifier": "^4.7",
34                 "friendica/json-ld": "^1.0",
35                 "geekwright/po": "^2.0",
36                 "guzzlehttp/guzzle": "^6.5",
37                 "league/html-to-markdown": "^4.8",
38                 "level-2/dice": "^4",
39                 "lightopenid/lightopenid": "dev-master",
40                 "matriphe/iso-639": "^1.2",
41                 "mattwright/urlresolver": "^2.0",
42                 "michelf/php-markdown": "^1.7",
43                 "minishlink/web-push": "^6.0",
44                 "mobiledetect/mobiledetectlib": "^2.8",
45                 "nikic/fast-route": "^1.3",
46                 "paragonie/hidden-string": "^1.0",
47                 "patrickschur/language-detection": "^5.0.0",
48                 "pear/console_table": "^1.3",
49                 "phpseclib/phpseclib": "^3.0",
50                 "pragmarx/google2fa": "^5.0",
51                 "pragmarx/recovery": "^0.2",
52                 "psr/container": "^1.0",
53                 "psr/log": "^1.1",
54                 "seld/cli-prompt": "^1.0",
55                 "smarty/smarty": "^4",
56                 "ua-parser/uap-php": "^3.9",
57                 "xemlock/htmlpurifier-html5": "^0.1.11",
58                 "fxp/composer-asset-plugin": "^1.4",
59                 "bower-asset/base64": "^1.0",
60                 "bower-asset/chart-js": "^2.8",
61                 "bower-asset/dompurify": "^1.0",
62                 "bower-asset/fork-awesome": "^1.1",
63                 "npm-asset/cropperjs": "1.2.2",
64                 "npm-asset/es-jquery-sortable": "^0.9.13",
65                 "npm-asset/fullcalendar": "^3.10",
66                 "npm-asset/imagesloaded": "4.1.4",
67                 "npm-asset/jquery": "^2.0",
68                 "npm-asset/jquery-colorbox": "^1.6",
69                 "npm-asset/jquery-datetimepicker": "^2.5",
70                 "npm-asset/jgrowl": "^1.4",
71                 "npm-asset/moment": "^2.24",
72                 "npm-asset/perfect-scrollbar": "0.6.16",
73                 "npm-asset/textcomplete": "^0.18.2",
74                 "npm-asset/typeahead.js": "^0.11.1",
75                 "kornrunner/blurhash": "^1.2",
76                 "psr/clock": "^1.0"
77         },
78         "repositories": [
79                 {
80                         "type": "vcs",
81                         "url": "https://git.friendi.ca/friendica/php-json-ld"
82                 }
83         ],
84         "autoload": {
85                 "psr-4": {
86                         "Friendica\\": "src/",
87                         "Friendica\\Addon\\": "addon/"
88                 }
89         },
90         "autoload-dev": {
91                 "psr-4": {
92                         "Friendica\\Test\\": "tests/"
93                 }
94         },
95         "config": {
96                 "platform": {
97                         "php": "7.3"
98                 },
99                 "autoloader-suffix": "Friendica",
100                 "optimize-autoloader": true,
101                 "preferred-install": "dist",
102                 "fxp-asset": {
103                         "installer-paths": {
104                                 "npm-asset-library": "view/asset",
105                                 "bower-asset-library": "view/asset"
106                         }
107                 }
108         },
109         "archive": {
110                 "exclude": [
111                         "/.*",
112                         "/*file",
113                         "!/.htaccess-dist",
114                         "/tests",
115                         "/*.xml",
116                         "/composer.*",
117                         "/log",
118                         "/cache",
119                         "/photo",
120                         "/proxy",
121                         "/addon",
122                         "!/vendor",
123                         "!/view/asset"
124                 ]
125         },
126         "require-dev": {
127                 "mockery/mockery": "^1.3",
128                 "mikey179/vfsstream": "^1.6",
129                 "phpunit/phpunit": "^9",
130                 "dms/phpunit-arraysubset-asserts": "^0.3.1"
131         },
132         "scripts": {
133                 "test": "phpunit",
134                 "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './view/asset/*' -print0 | xargs -0 -n1 php -l",
135                 "cs:install": "@composer install --working-dir=bin/dev/php-cs-fixer",
136                 "cs:check": [
137                         "@cs:install",
138                         "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff"
139                 ],
140                 "cs:fix": [
141                         "@cs:install",
142                         "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix"
143                 ]
144         }
145 }