X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=composer.json;h=35043fd23c9b7d84c6016b54a956c239bb08ea31;hb=e011be01701e7f0f2bee9a5de3f062a5ca1b17df;hp=89a7e446f5186ef165ff52548dccf764fd7d9b7e;hpb=8c4958c5081d7956c6a693087fcff5028103c9df;p=github%2Fshaarli%2FShaarli.git diff --git a/composer.json b/composer.json index 89a7e446..35043fd2 100644 --- a/composer.json +++ b/composer.json @@ -6,17 +6,66 @@ "homepage": "https://github.com/shaarli/Shaarli", "support": { "issues": "https://github.com/shaarli/Shaarli/issues", - "wiki": "https://github.com/shaarli/Shaarli/wiki" + "wiki": "https://shaarli.readthedocs.io" }, "keywords": ["bookmark", "link", "share", "web"], + "config": { + "platform": { + "php": "7.1.29" + } + }, "require": { - "php": ">=5.3.4", - "shaarli/netscape-bookmark-parser": "1.*" + "php": ">=7.1", + "ext-json": "*", + "ext-zlib": "*", + "shaarli/netscape-bookmark-parser": "^2.1", + "erusev/parsedown": "^1.6", + "slim/slim": "^3.0", + "arthurhoaro/web-thumbnailer": "^2.0", + "pubsubhubbub/publisher": "dev-master", + "gettext/gettext": "^4.4" }, "require-dev": { - "phpmd/phpmd" : "@stable", - "phpunit/phpunit": "4.8.*", - "sebastian/phpcpd": "*", - "squizlabs/php_codesniffer": "2.*" + "roave/security-advisories": "dev-master", + "phpunit/phpcov": "*", + "phpunit/phpunit": "^7.5 || ^8.0 || ^9.0", + "squizlabs/php_codesniffer": "3.*" + }, + "suggest": { + "ext-curl": "Allows fetching web pages and thumbnails in a more robust way", + "ext-gd": "Required for thumbnail generation", + "ext-gettext": "Enables faster translation system in gettext mode", + "ext-intl": "Provides localized text sorting", + "ext-mbstring": "Provides multibyte (Unicode) string support" + }, + "autoload": { + "psr-4": { + "Shaarli\\": "application", + "Shaarli\\Api\\": "application/api/", + "Shaarli\\Api\\Controllers\\": "application/api/controllers", + "Shaarli\\Api\\Exceptions\\": "application/api/exceptions", + "Shaarli\\Bookmark\\": "application/bookmark", + "Shaarli\\Bookmark\\Exception\\": "application/bookmark/exception", + "Shaarli\\Config\\": "application/config/", + "Shaarli\\Config\\Exception\\": "application/config/exception", + "Shaarli\\Container\\": "application/container", + "Shaarli\\Exceptions\\": "application/exceptions", + "Shaarli\\Feed\\": "application/feed", + "Shaarli\\Formatter\\": "application/formatter", + "Shaarli\\Front\\": "application/front", + "Shaarli\\Front\\Controller\\Admin\\": "application/front/controller/admin", + "Shaarli\\Front\\Controller\\Visitor\\": "application/front/controller/visitor", + "Shaarli\\Front\\Exception\\": "application/front/exceptions", + "Shaarli\\Http\\": "application/http", + "Shaarli\\Legacy\\": "application/legacy", + "Shaarli\\Netscape\\": "application/netscape", + "Shaarli\\Plugin\\": "application/plugin", + "Shaarli\\Plugin\\Exception\\": "application/plugin/exception", + "Shaarli\\Plugin\\Wallabag\\": "plugins/wallabag", + "Shaarli\\Render\\": "application/render", + "Shaarli\\Security\\": "application/security", + "Shaarli\\Updater\\": "application/updater", + "Shaarli\\Updater\\Exception\\": "application/updater/exception" + } } }