friendica-github/composer.json

171 lines
4.3 KiB
JSON
Raw Normal View History

{
"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": {
"php": ">=7.4",
2019-01-06 20:01:26 +00:00
"ext-ctype": "*",
2018-12-23 20:32:38 +00:00
"ext-curl": "*",
"ext-dom": "*",
2019-01-06 20:01:26 +00:00
"ext-fileinfo": "*",
"ext-gd": "*",
"ext-iconv": "*",
"ext-json": "*",
2019-01-06 20:01:26 +00:00
"ext-libxml": "*",
"ext-mbstring": "*",
"ext-openssl": "*",
"ext-posix": "*",
2019-01-06 20:01:26 +00:00
"ext-simplexml": "*",
"ext-xml": "*",
"asika/simple-console": "^1.0",
2021-12-10 22:42:30 +00:00
"bacon/bacon-qr-code": "^2.0.0",
"bower-asset/base64": "^1.0",
"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",
"geekwright/po": "^2.0",
"guzzlehttp/guzzle": "^7",
2023-04-06 20:00:56 +00:00
"guzzlehttp/oauth-subscriber": "^0.6",
"kornrunner/blurhash": "^1.2",
2019-10-24 13:32:54 +00:00
"league/html-to-markdown": "^4.8",
"level-2/dice": "^4",
"lightopenid/lightopenid": "dev-master",
"matriphe/iso-639": "^1.2",
"mattwright/urlresolver": "^2.0",
"michelf/php-markdown": "^1.7",
"minishlink/web-push": "^6.0",
"mobiledetect/mobiledetectlib": "^3.74",
"nikic/fast-route": "^1.3",
"npm-asset/chart.js": "^2.8",
"npm-asset/cropperjs": "1.2.2",
"npm-asset/dompurify": "^1.0",
"npm-asset/es-jquery-sortable": "^0.9.13",
"npm-asset/fork-awesome": "^1.1",
"npm-asset/fullcalendar": "^3.10",
"npm-asset/imagesloaded": "4.1.4",
"npm-asset/jgrowl": "^1.4",
"npm-asset/jquery": "^2.0",
"npm-asset/jquery-colorbox": "^1.6",
"npm-asset/jquery-datetimepicker": "^2.5",
"npm-asset/moment": "^2.24",
"npm-asset/perfect-scrollbar": "0.6.16",
"npm-asset/textcomplete": "^0.18.2",
"npm-asset/typeahead.js": "^0.11.1",
"oomphinc/composer-installers-extender": "^2.0",
"paragonie/hidden-string": "^1.0",
"patrickschur/language-detection": "^5.0.0",
"pear/console_table": "^1.3",
"phpseclib/phpseclib": "^3.0",
"pragmarx/google2fa": "^5.0",
2021-12-10 22:29:14 +00:00
"pragmarx/recovery": "^0.2",
"psr/clock": "^1.0",
"psr/container": "^2.0",
2022-10-17 19:25:04 +00:00
"psr/log": "^1.1",
"seld/cli-prompt": "^1.0",
"smarty/smarty": "^4",
"ua-parser/uap-php": "^3.9",
"xemlock/htmlpurifier-html5": "^0.1.11"
},
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"
},
"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"
},
{
"type": "composer",
"url": "https://asset-packagist.org"
2018-03-29 15:57:06 +00:00
}
],
"autoload": {
"psr-4": {
"Friendica\\": "src/"
},
"classmap": ["addon/"],
"exclude-from-classmap": [
"addon/*/vendor/"
]
},
"autoload-dev": {
"psr-4": {
"Friendica\\Test\\": "tests/"
}
},
"config": {
"platform": {
"php": "7.4"
},
"sort-packages": true,
"autoloader-suffix": "Friendica",
"optimize-autoloader": true,
"preferred-install": "dist",
2024-10-31 14:40:00 +00:00
"allow-plugins": {
"composer/installers": true,
"oomphinc/composer-installers-extender": true,
2024-10-31 14:40:00 +00:00
"php-http/discovery": false
2018-03-29 15:57:06 +00:00
}
},
"extra": {
"installer-types": ["bower-asset", "npm-asset"],
"installer-paths": {
"view/asset/{$name}/": [
"type:bower-asset",
"type:npm-asset"
]
}
},
"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-04-09 19:23:41 +00:00
},
"require-dev": {
"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",
"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",
"cs:check": [
"@cs:install",
"bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer check --diff"
],
"cs:fix": [
"@cs:install",
"bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix"
]
}
}