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