From 835dd2238e28b61ecb1a61c227af05bab7d7045d Mon Sep 17 00:00:00 2001 From: jmcollin Date: Tue, 1 Oct 2019 15:45:43 +0200 Subject: [PATCH] Fix composer --- composer.json | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index af98567..4f8d5fa 100755 --- a/composer.json +++ b/composer.json @@ -1,12 +1,26 @@ { "name": "jmcollin/autoindex", + "description": "Automatically add an index.php in all directories recursively", "type": "library", "license": "MIT", + "version": "1.0.0", + "keywords": [ + "directory-traversal-vulnerability", + "security", + "vulnerability", + "cli-utility", + "php-library" + ], + "authors": [{ + "name": "Jean-Marie Collin", + "email": "jcollin@trustmylog.com", + "role": "Developer" + }], "bin": [ "bin/autoindex" ], "require": { - "php": "^7.1" + "php": ">=7.1" }, "autoload": { "psr-0": { "AutoIndex": "src/" }, @@ -14,14 +28,17 @@ "/tests/" ] }, + "require-dev": { + "phpstan/phpstan": "^0.11.16", + "symplify/easy-coding-standard": "^6.0" + }, "minimum-stability": "dev", "extra": { "branch-alias": { - "dev-master": "1.0-dev" + "dev-composer": "1.0-dev" } }, - "require-dev": { - "phpstan/phpstan": "^0.11.16", - "symplify/easy-coding-standard": "^6.0" + "config": { + "preferred-install": "dist" } }