Skip to content
Browse files

Merge pull request #5 from pear/topics/composer-for-pear

Updated/New Composer support for Console_Color2
  • Loading branch information...
2 parents 771a5a4 + 3fac58b commit e7cc88dc38253d7e7441bb58e0418ff5e5ff65b7 @till till committed
Showing with 23 additions and 4 deletions.
  1. +4 −0 .gitignore
  2. +19 −4 composer.json
View
4 .gitignore
@@ -0,0 +1,4 @@
+# composer related
+composer.lock
+composer.phar
+vendor
View
23 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": "./"
+ }
+ },
+ "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": "*"
}
-}
+}

0 comments on commit e7cc88d

Please sign in to comment.
Something went wrong with that request. Please try again.