diff --git a/README b/README index a420603c..c7e8c426 100644 --- a/README +++ b/README @@ -45,10 +45,6 @@ Just add the package "marcelog/ding": "marcelog/ding": "dev-master" } } - -Note that since log4php is a dependency and does not have a composer -installation available, you will need to add it to your own composer.json file. - Packagist URL: http://packagist.org/packages/marcelog/ding ------------------------------------------------------------------------------- Available via PEAR diff --git a/composer.json b/composer.json index f459132b..78c1c1ce 100644 --- a/composer.json +++ b/composer.json @@ -13,12 +13,18 @@ "role": "Developer" } ], + "repositories": [ + { + "type": "pear", + "url": "http://pear.apache.org/log4php/" + }], "autoload": { "psr-0": { "Ding": "src/mg" } }, "require": { - "php": ">=5.3.3" + "php": ">=5.3.3", + "pear-log4php/Apache_log4php": ">=2.1.0" } } diff --git a/composer.lock b/composer.lock index 40c90fbd..bce6015a 100644 --- a/composer.lock +++ b/composer.lock @@ -1,7 +1,10 @@ { - "hash": "e278dac4af1944a492f72b6af0b2649d", + "hash": "2265fe393e25eaf0de856317998344d4", "packages": [ - + { + "package": "pear-pear.apache.org/log4php/Apache_log4php", + "version": "2.2.1" + } ], "packages-dev": null, "aliases": [