From 24b9c670a38bafc5d531f8b099ecdc9835e5a27e Mon Sep 17 00:00:00 2001 From: Josh Sherman Date: Thu, 17 Jul 2014 18:04:36 -0400 Subject: [PATCH] Composer package. Really great project, wanted a composer package for it. --- .gitignore | 1 + composer.json | 20 ++++++++++++++++++++ simplexml_dump.php => src/simplexml_dump.php | 0 simplexml_tree.php => src/simplexml_tree.php | 0 4 files changed, 21 insertions(+) create mode 100644 .gitignore create mode 100644 composer.json rename simplexml_dump.php => src/simplexml_dump.php (100%) rename simplexml_tree.php => src/simplexml_tree.php (100%) diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57872d0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/vendor/ diff --git a/composer.json b/composer.json new file mode 100644 index 0000000..4fb2ba5 --- /dev/null +++ b/composer.json @@ -0,0 +1,20 @@ +{ + "name": "imsop/simplexml_debug", + "description": "Tools for debugging your code when working with PHP's SimpleXML functions.", + "authors": [{ + "name": "Rowan Collins", + "homepage": "http://rwec.co.uk", + "role": "Lead" + },{ + "name": "Josh Sherman", + "email": "josh@gravityblvd.com", + "homepage": "http://joshtronic.com", + "role": "Contributor" + }], + "autoload": { + "classmap": ["src/"] + }, + "require-dev": { + "satooshi/php-coveralls": "dev-master" + } +} diff --git a/simplexml_dump.php b/src/simplexml_dump.php similarity index 100% rename from simplexml_dump.php rename to src/simplexml_dump.php diff --git a/simplexml_tree.php b/src/simplexml_tree.php similarity index 100% rename from simplexml_tree.php rename to src/simplexml_tree.php