summaryrefslogtreecommitdiffstats
path: root/composer.json
diff options
context:
space:
mode:
Diffstat (limited to 'composer.json')
-rw-r--r--composer.json47
1 files changed, 47 insertions, 0 deletions
diff --git a/composer.json b/composer.json
new file mode 100644
index 0000000..50db5cc
--- /dev/null
+++ b/composer.json
@@ -0,0 +1,47 @@
+{
+ "name": "zendframework/zend-xml2json",
+ "description": "Provides functionality for converting XML to JSON, optionally including XML attributes",
+ "license": "BSD-3-Clause",
+ "keywords": [
+ "zf2",
+ "json",
+ "xml"
+ ],
+ "homepage": "https://github.com/zendframework/zend-xml2json",
+ "extra": {
+ "branch-alias": {
+ "dev-master": "3.0-dev",
+ "dev-develop": "3.1-dev"
+ }
+ },
+ "require": {
+ "php": "^5.5 || ^7.0",
+ "zendframework/zend-json": "^2.6.1 || ^3.0",
+ "zendframework/zendxml": "^1.0.2"
+ },
+ "require-dev": {
+ "squizlabs/php_codesniffer": "^2.3",
+ "phpunit/PHPUnit": "~4.0"
+ },
+ "autoload": {
+ "psr-4": {
+ "Zend\\Xml2Json\\": "src/"
+ }
+ },
+ "autoload-dev": {
+ "psr-4": {
+ "ZendTest\\Xml2Json\\": "test/"
+ }
+ },
+ "scripts": {
+ "check": [
+ "@cs-check",
+ "@test"
+ ],
+ "upload-coverage": "coveralls",
+ "cs-check": "phpcs",
+ "cs-fix": "phpcbf fix -v",
+ "test": "phpunit",
+ "test-coverage": "phpunit --coverage-clover clover.xml"
+ }
+}