"issues": "https://github.com/friendica/friendica/issues"
},
"require": {
- "php": ">=5.6.1",
+ "php": ">=7.3",
+ "ext-ctype": "*",
+ "ext-curl": "*",
+ "ext-dom": "*",
+ "ext-fileinfo": "*",
+ "ext-gd": "*",
+ "ext-iconv": "*",
+ "ext-json": "*",
+ "ext-libxml": "*",
+ "ext-mbstring": "*",
+ "ext-openssl": "*",
+ "ext-simplexml": "*",
"ext-xml": "*",
"asika/simple-console": "^1.0",
- "divineomega/password_exposed": "^2.4",
- "ezyang/htmlpurifier": "~4.7.0",
- "league/html-to-markdown": "~4.4.1",
+ "bacon/bacon-qr-code": "^2.0.0",
+ "divineomega/password_exposed": "^2.8",
+ "ezyang/htmlpurifier": "^4.7",
+ "friendica/json-ld": "^1.0",
+ "geekwright/po": "^2.0",
+ "guzzlehttp/guzzle": "^6.5",
+ "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",
- "mobiledetect/mobiledetectlib": "2.8.*",
- "paragonie/random_compat": "^2.0",
- "pear/Text_LanguageDetect": "1.*",
- "pear/Text_Highlighter": "dev-master",
+ "minishlink/web-push": "^6.0",
+ "mobiledetect/mobiledetectlib": "^2.8",
+ "monolog/monolog": "^1.25",
+ "nikic/fast-route": "^1.3",
+ "paragonie/hidden-string": "^1.0",
+ "patrickschur/language-detection": "^5.0.0",
+ "pear/console_table": "^1.3",
+ "phpseclib/phpseclib": "^2.0",
+ "pragmarx/google2fa": "^5.0",
+ "pragmarx/recovery": "^0.2",
+ "psr/container": "^1.0",
"seld/cli-prompt": "^1.0",
- "smarty/smarty": "^3.1",
- "fxp/composer-asset-plugin": "~1.3",
+ "smarty/smarty": "^4",
+ "ua-parser/uap-php": "^3.9",
+ "xemlock/htmlpurifier-html5": "^0.1.11",
+ "fxp/composer-asset-plugin": "^1.4",
"bower-asset/base64": "^1.0",
- "bower-asset/Chart-js": "^2.7",
- "bower-asset/perfect-scrollbar": "^0.6",
- "bower-asset/vue": "^2.5",
+ "bower-asset/chart-js": "^2.8",
+ "bower-asset/dompurify": "^1.0",
+ "bower-asset/fork-awesome": "^1.1",
+ "bower-asset/vue": "^2.6",
+ "npm-asset/cropperjs": "1.2.2",
+ "npm-asset/es-jquery-sortable": "^0.9.13",
+ "npm-asset/fullcalendar": "^3.10",
+ "npm-asset/imagesloaded": "4.1.4",
"npm-asset/jquery": "^2.0",
"npm-asset/jquery-colorbox": "^1.6",
- "npm-asset/jquery-datetimepicker": "^2.4.0",
+ "npm-asset/jquery-datetimepicker": "^2.5",
"npm-asset/jgrowl": "^1.4",
- "npm-asset/fullcalendar": "^3.0.1",
- "npm-asset/cropperjs": "1.2.2",
- "npm-asset/imagesloaded": "4.1.4"
+ "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"
},
"repositories": [
{
"type": "vcs",
- "url": "https://github.com/pear/Text_Highlighter"
+ "url": "https://git.friendi.ca/friendica/php-json-ld"
}
],
"autoload": {
"psr-4": {
"Friendica\\": "src/",
- "Friendica\\Test\\": "tests/"
+ "Friendica\\Addon\\": "addon/"
},
- "psr-0": {
- "": "library/"
+ "files": [
+ "boot.php"
+ ]
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "Friendica\\Test\\": "tests/"
}
},
"config": {
+ "platform": {
+ "php": "7.3"
+ },
"autoloader-suffix": "Friendica",
"optimize-autoloader": true,
"preferred-install": "dist",
},
"archive": {
"exclude": [
- "log", "cache", "/photo", "/proxy"
+ "/.*",
+ "/*file",
+ "!/.htaccess-dist",
+ "/tests",
+ "/*.xml",
+ "/composer.*",
+ "/log",
+ "/cache",
+ "/photo",
+ "/proxy",
+ "/addon",
+ "!/vendor",
+ "!/view/asset"
]
},
"require-dev": {
- "phpunit/dbunit": "^2.0",
- "phpdocumentor/reflection-docblock": "^3.0.2",
- "phpunit/php-token-stream": "^1.4.2"
+ "mockery/mockery": "^1.3",
+ "mikey179/vfsstream": "^1.6",
+ "phpunit/phpunit": "^9",
+ "dms/phpunit-arraysubset-asserts": "^0.3.1"
},
"scripts": {
- "test": "phpunit"
+ "test": "phpunit",
+ "lint": "find . -name \\*.php -not -path './vendor/*' -not -path './view/asset/*' -print0 | xargs -0 -n1 php -l",
+ "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 fix --dry-run --diff"],
+ "cs:fix": ["@cs:install", "bin/dev/php-cs-fixer/vendor/bin/php-cs-fixer fix"]
}
}