How can I use composer autoloader to load slim? I have it a go below,
composer.json:
{
\"autoload\": {
\"psr-4\": {
You can just use ...
{
"require": {
"slim/slim": "2.*"
}
}
http://docs.slimframework.com/
If you prefer to keep slim under ext (as you mentioned here Slim framework - How to autoload Slim/Slim.php instead of using require?) instead of using it as a composer package, I believe this will work:
{
"autoload": {
"psr-0": {
"": "ext/"
}
}
}