2018-02-08 22:49:49 -05:00
|
|
|
{
|
|
|
|
"name": "friendica/friendica",
|
|
|
|
"description": "A decentralized social network part of The Federation",
|
|
|
|
"type": "project",
|
|
|
|
"keywords": [
|
|
|
|
"social network",
|
|
|
|
"dfrn",
|
|
|
|
"ostatus",
|
|
|
|
"diaspora"
|
|
|
|
],
|
|
|
|
"license": "AGPL-3.0+",
|
|
|
|
"support": {
|
|
|
|
"issues": "https://github.com/friendica/friendica/issues"
|
|
|
|
},
|
|
|
|
"require": {
|
2023-12-18 16:01:50 -05:00
|
|
|
"php": ">=7.4",
|
2019-01-06 15:01:26 -05:00
|
|
|
"ext-ctype": "*",
|
2018-12-23 15:32:38 -05:00
|
|
|
"ext-curl": "*",
|
2018-11-22 00:24:43 -05:00
|
|
|
"ext-dom": "*",
|
2019-01-06 15:01:26 -05:00
|
|
|
"ext-fileinfo": "*",
|
|
|
|
"ext-gd": "*",
|
|
|
|
"ext-iconv": "*",
|
2018-11-22 00:24:43 -05:00
|
|
|
"ext-json": "*",
|
2019-01-06 15:01:26 -05:00
|
|
|
"ext-libxml": "*",
|
|
|
|
"ext-mbstring": "*",
|
2019-01-01 01:05:22 -05:00
|
|
|
"ext-openssl": "*",
|
2023-04-01 08:11:05 -04:00
|
|
|
"ext-posix": "*",
|
2019-01-06 15:01:26 -05:00
|
|
|
"ext-simplexml": "*",
|
2018-02-08 22:49:49 -05:00
|
|
|
"ext-xml": "*",
|
2018-03-21 01:31:00 -04:00
|
|
|
"asika/simple-console": "^1.0",
|
2021-12-10 17:42:30 -05:00
|
|
|
"bacon/bacon-qr-code": "^2.0.0",
|
2024-01-12 01:12:48 -05:00
|
|
|
"divineomega/password_exposed": "^3",
|
2023-03-13 09:49:42 -04:00
|
|
|
"enyo/dropzone": "^5.9",
|
2019-10-24 09:32:54 -04:00
|
|
|
"ezyang/htmlpurifier": "^4.7",
|
2018-10-03 01:35:12 -04:00
|
|
|
"friendica/json-ld": "^1.0",
|
2021-10-09 10:18:53 -04:00
|
|
|
"geekwright/po": "^2.0",
|
2024-01-12 01:12:48 -05:00
|
|
|
"guzzlehttp/guzzle": "^7",
|
2023-04-06 16:00:56 -04:00
|
|
|
"guzzlehttp/oauth-subscriber": "^0.6",
|
2023-04-01 08:11:05 -04:00
|
|
|
"kornrunner/blurhash": "^1.2",
|
2019-10-24 09:32:54 -04:00
|
|
|
"league/html-to-markdown": "^4.8",
|
|
|
|
"level-2/dice": "^4",
|
2018-02-08 22:49:49 -05:00
|
|
|
"lightopenid/lightopenid": "dev-master",
|
2020-12-03 10:31:43 -05:00
|
|
|
"matriphe/iso-639": "^1.2",
|
2021-10-09 10:18:53 -04:00
|
|
|
"mattwright/urlresolver": "^2.0",
|
2018-02-08 22:49:49 -05:00
|
|
|
"michelf/php-markdown": "^1.7",
|
2021-10-09 10:18:53 -04:00
|
|
|
"minishlink/web-push": "^6.0",
|
2023-12-18 16:01:50 -05:00
|
|
|
"mobiledetect/mobiledetectlib": "^3.74",
|
2019-04-03 23:32:10 -04:00
|
|
|
"nikic/fast-route": "^1.3",
|
2019-06-10 08:43:25 -04:00
|
|
|
"paragonie/hidden-string": "^1.0",
|
2021-12-10 17:53:11 -05:00
|
|
|
"patrickschur/language-detection": "^5.0.0",
|
2019-07-14 21:45:26 -04:00
|
|
|
"pear/console_table": "^1.3",
|
2022-11-23 13:45:58 -05:00
|
|
|
"phpseclib/phpseclib": "^3.0",
|
2019-05-13 01:07:38 -04:00
|
|
|
"pragmarx/google2fa": "^5.0",
|
2021-12-10 17:29:14 -05:00
|
|
|
"pragmarx/recovery": "^0.2",
|
2023-04-01 08:11:05 -04:00
|
|
|
"psr/clock": "^1.0",
|
2023-12-18 16:01:50 -05:00
|
|
|
"psr/container": "^2.0",
|
2022-10-17 15:25:04 -04:00
|
|
|
"psr/log": "^1.1",
|
2018-04-18 22:47:27 -04:00
|
|
|
"seld/cli-prompt": "^1.0",
|
2022-02-18 22:43:45 -05:00
|
|
|
"smarty/smarty": "^4",
|
2021-01-19 23:39:09 -05:00
|
|
|
"ua-parser/uap-php": "^3.9",
|
2020-12-03 10:31:43 -05:00
|
|
|
"xemlock/htmlpurifier-html5": "^0.1.11",
|
2019-10-24 09:32:54 -04:00
|
|
|
"fxp/composer-asset-plugin": "^1.4",
|
2018-02-08 22:49:49 -05:00
|
|
|
"bower-asset/base64": "^1.0",
|
2019-10-24 09:32:54 -04:00
|
|
|
"bower-asset/chart-js": "^2.8",
|
2019-05-26 16:02:38 -04:00
|
|
|
"bower-asset/dompurify": "^1.0",
|
2020-05-06 21:49:34 -04:00
|
|
|
"bower-asset/fork-awesome": "^1.1",
|
|
|
|
"npm-asset/cropperjs": "1.2.2",
|
2020-01-18 10:41:56 -05:00
|
|
|
"npm-asset/es-jquery-sortable": "^0.9.13",
|
2020-05-06 21:49:34 -04:00
|
|
|
"npm-asset/fullcalendar": "^3.10",
|
|
|
|
"npm-asset/imagesloaded": "4.1.4",
|
2018-02-08 22:49:49 -05:00
|
|
|
"npm-asset/jquery": "^2.0",
|
|
|
|
"npm-asset/jquery-colorbox": "^1.6",
|
2019-10-24 09:32:54 -04:00
|
|
|
"npm-asset/jquery-datetimepicker": "^2.5",
|
2018-02-08 22:49:49 -05:00
|
|
|
"npm-asset/jgrowl": "^1.4",
|
2019-10-24 09:32:54 -04:00
|
|
|
"npm-asset/moment": "^2.24",
|
2020-05-06 21:49:34 -04:00
|
|
|
"npm-asset/perfect-scrollbar": "0.6.16",
|
2020-07-22 10:42:53 -04:00
|
|
|
"npm-asset/textcomplete": "^0.18.2",
|
2023-04-01 08:11:05 -04:00
|
|
|
"npm-asset/typeahead.js": "^0.11.1"
|
2018-12-23 19:45:33 -05:00
|
|
|
},
|
2023-08-02 14:31:14 -04:00
|
|
|
"suggest": {
|
|
|
|
"ext-imagick": "For faster image processing",
|
|
|
|
"ext-redis": "To use Redis as a locking or caching provider",
|
|
|
|
"ext-pdo": "To use PDO as a database driver, has priority over mysqli unless database.disable_pdo is set",
|
|
|
|
"ext-mysqli": "To use mysqli as a databse driver"
|
|
|
|
},
|
2018-02-08 22:49:49 -05:00
|
|
|
"repositories": [
|
2018-03-29 11:57:06 -04:00
|
|
|
{
|
|
|
|
"type": "vcs",
|
2018-09-28 11:04:51 -04:00
|
|
|
"url": "https://git.friendi.ca/friendica/php-json-ld"
|
2018-03-29 11:57:06 -04:00
|
|
|
}
|
|
|
|
],
|
2018-02-08 22:49:49 -05:00
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
2018-04-09 15:23:41 -04:00
|
|
|
"Friendica\\": "src/",
|
2018-11-29 08:46:48 -05:00
|
|
|
"Friendica\\Addon\\": "addon/"
|
2022-10-19 16:38:25 -04:00
|
|
|
}
|
2018-02-08 22:49:49 -05:00
|
|
|
},
|
2020-02-20 16:17:30 -05:00
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
|
|
|
"Friendica\\Test\\": "tests/"
|
|
|
|
}
|
|
|
|
},
|
2018-02-08 22:49:49 -05:00
|
|
|
"config": {
|
2020-06-17 13:22:25 -04:00
|
|
|
"platform": {
|
2023-12-18 16:01:50 -05:00
|
|
|
"php": "7.4"
|
2020-06-17 13:22:25 -04:00
|
|
|
},
|
2018-02-08 22:49:49 -05:00
|
|
|
"autoloader-suffix": "Friendica",
|
|
|
|
"optimize-autoloader": true,
|
|
|
|
"preferred-install": "dist",
|
|
|
|
"fxp-asset": {
|
2018-03-29 11:57:06 -04:00
|
|
|
"installer-paths": {
|
|
|
|
"npm-asset-library": "view/asset",
|
|
|
|
"bower-asset-library": "view/asset"
|
|
|
|
}
|
|
|
|
}
|
2018-02-08 22:49:49 -05:00
|
|
|
},
|
|
|
|
"archive": {
|
|
|
|
"exclude": [
|
2019-06-23 17:38:12 -04:00
|
|
|
"/.*",
|
|
|
|
"/*file",
|
|
|
|
"!/.htaccess-dist",
|
|
|
|
"/tests",
|
|
|
|
"/*.xml",
|
|
|
|
"/composer.*",
|
|
|
|
"/log",
|
|
|
|
"/cache",
|
|
|
|
"/photo",
|
|
|
|
"/proxy",
|
|
|
|
"/addon",
|
|
|
|
"!/vendor",
|
|
|
|
"!/view/asset"
|
2018-02-08 22:49:49 -05:00
|
|
|
]
|
2018-04-09 15:23:41 -04:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2021-04-05 06:33:56 -04:00
|
|
|
"mockery/mockery": "^1.3",
|
2021-08-16 17:37:03 -04:00
|
|
|
"mikey179/vfsstream": "^1.6",
|
2021-12-10 18:06:00 -05:00
|
|
|
"phpunit/phpunit": "^9",
|
2023-01-21 10:58:09 -05:00
|
|
|
"dms/phpunit-arraysubset-asserts": "^0.3.1"
|
2018-04-09 15:23:41 -04:00
|
|
|
},
|
|
|
|
"scripts": {
|
2021-04-05 13:07:54 -04:00
|
|
|
"test": "phpunit",
|
2021-04-06 14:00:21 -04:00
|
|
|
"lint": "find . -name \\*.php -not -path './vendor/*' -not -path './view/asset/*' -print0 | xargs -0 -n1 php -l",
|
2023-07-16 12:41:05 -04:00
|
|
|
"docker:translate": "docker run --rm -v $PWD:/data -w /data friendicaci/transifex bin/run_xgettext.sh",
|
2021-04-06 14:00:21 -04:00
|
|
|
"cs:install": "@composer install --working-dir=bin/dev/php-cs-fixer",
|
2023-02-27 14:34:46 -05:00
|
|
|
"cs:check": [
|
|
|
|
"@cs:install",
|
|
|
|
"bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff"
|
|
|
|
],
|
|
|
|
"cs:fix": [
|
|
|
|
"@cs:install",
|
|
|
|
"bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix"
|
|
|
|
]
|
2018-02-08 22:49:49 -05:00
|
|
|
}
|
|
|
|
}
|