summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json36
1 files changed, 27 insertions, 9 deletions
diff --git a/composer.json b/composer.json
index 553a375..3cff6ef 100644
--- a/composer.json
+++ b/composer.json
@@ -1,27 +1,45 @@
{
"name": "phpoption/phpoption",
"description": "Option Type for PHP",
- "keywords": ["php","option","language","type"],
- "type": "library",
- "license": "Apache2",
+ "keywords": ["php", "option", "language", "type"],
+ "license": "Apache-2.0",
"authors": [
{
"name": "Johannes M. Schmitt",
- "email": "schmittjoh@gmail.com"
+ "email": "schmittjoh@gmail.com",
+ "homepage": "https://github.com/schmittjoh"
+ },
+ {
+ "name": "Graham Campbell",
+ "email": "hello@gjcampbell.co.uk",
+ "homepage": "https://github.com/GrahamCampbell"
}
],
"require": {
- "php": ">=5.3.0"
+ "php": "^7.0 || ^8.0"
},
"require-dev": {
- "phpunit/phpunit": "4.7.*"
+ "bamarni/composer-bin-plugin": "^1.4.1",
+ "phpunit/phpunit": "^6.5.14 || ^7.5.20 || ^8.5.19 || ^9.5.8"
},
"autoload": {
- "psr-0": { "PhpOption\\": "src/" }
+ "psr-4": {
+ "PhpOption\\": "src/PhpOption/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "PhpOption\\Tests\\": "tests/PhpOption/Tests/"
+ }
+ },
+ "config": {
+ "preferred-install": "dist"
},
"extra": {
"branch-alias": {
- "dev-master": "1.3-dev"
+ "dev-master": "1.8-dev"
}
- }
+ },
+ "minimum-stability": "dev",
+ "prefer-stable": true
}