From 13adc45297edaabeefca5c9d7e35f27c37295508 Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Sun, 17 Feb 2013 17:43:04 +0100 Subject: [PATCH 1/2] Fix autoloading PSR-3 is not an autoloading standard. PSR-0 is, and that one you should use. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 50a4101..fcef211 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "source": "https://github.com/Joeynoh/PHP-Log-Class/" }, "autoload": { - "psr-3": { "PHP-Log-Class": "" } + "psr-0": { "PHP-Log-Class": "" } }, "repositories": [ { From 189066c318f3a93fc1155bbcf37a8567e9df4788 Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Sun, 17 Feb 2013 17:44:52 +0100 Subject: [PATCH 2/2] But your project is not PSR-0 compliant, so lets go with classmap --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index fcef211..fe6a16f 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "source": "https://github.com/Joeynoh/PHP-Log-Class/" }, "autoload": { - "psr-0": { "PHP-Log-Class": "" } + "classmap": ["src"] }, "repositories": [ {