From a91dd20b8e345e5ac39286bc28fd139fa8d4f2d0 Mon Sep 17 00:00:00 2001 From: till Date: Mon, 17 Feb 2014 17:32:26 +0100 Subject: [PATCH 1/2] Enhancement: composer setup --- .gitignore | 4 ++++ composer.json | 23 +++++++++++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..869f498 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +# composer related +composer.lock +composer.phar +vendor diff --git a/composer.json b/composer.json index 7375e7d..3c533a5 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,9 @@ "name": "pear/Console_Color2", "description": "This Class allows you to easily use ANSI console colors in your application.", "type": "library", - "keywords": [ "console" ], + "keywords": [ + "console" + ], "homepage": "https://github.com/pear/Console_Color2", "license": "MIT", "authors": [ @@ -20,9 +22,22 @@ } ], "require": { - "php": ">=5.0.0" + "php": ">=5.0.0", + "pear/pear_exception": "*" }, "autoload": { - "psr-0": { "Console_Color2": "" } + "psr-0": { + "Console_Color2": "" + } + }, + "include-path": [ + "./" + ], + "support": { + "issues": "http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Console_Color2", + "source": "https://github.com/pear/Console_Color2" + }, + "require-dev": { + "phpunit/phpunit": "*" } -} +} \ No newline at end of file From 3fac58b9ed2eecc59e76b1e250631a3c8485b175 Mon Sep 17 00:00:00 2001 From: till Date: Mon, 17 Feb 2014 23:36:32 +0100 Subject: [PATCH 2/2] Enhancement: composer setup --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 3c533a5..f32fe82 100644 --- a/composer.json +++ b/composer.json @@ -27,7 +27,7 @@ }, "autoload": { "psr-0": { - "Console_Color2": "" + "Console": "./" } }, "include-path": [