Using custom namespaces with (C/S)ilex and Composer
For a new proof of concept application I'm building, I need both a simple web interface as well as some commandline tools. I decided to use Silex for the web interface and Cilex for the CLI tools, and opted for using Composer for installing these dependencies into my project. I ran into some issues with the custom project libraries I was building for this application however. Registering my custom namespace into Silex and Cilex didn't result in the classes being loaded for some reason. Composer helped me out though.
posted on April 11, 2012 - 61 comment(s) - tags: silex, cilex, autoloading, PSR-0, composer