diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/composer.json b/composer.json index d20287a..d5d3a77 100644 --- a/composer.json +++ b/composer.json @@ -3,19 +3,33 @@ "type": "library", "description": "Create deep copies (clones) of your objects", "keywords": ["clone", "copy", "duplicate", "object", "object graph"], - "homepage": "https://github.com/myclabs/DeepCopy", "license": "MIT", + "autoload": { - "psr-4": { "DeepCopy\\": "src/DeepCopy/" } + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + }, + "files": [ + "src/DeepCopy/deep_copy.php" + ] }, "autoload-dev": { - "psr-4": { "DeepCopyTest\\": "tests/DeepCopyTest/" } + "psr-4": { + "DeepCopy\\": "fixtures/", + "DeepCopyTest\\": "tests/DeepCopyTest/" + } }, + "require": { - "php": ">=5.4.0" + "php": "^5.6 || ^7.0" }, "require-dev": { - "doctrine/collections": "1.*", - "phpunit/phpunit": "~4.1" + "doctrine/collections": "^1.0", + "doctrine/common": "^2.6", + "phpunit/phpunit": "^4.1" + }, + + "config": { + "sort-packages": true } } |