Composer breaks exisiting autoload in Codeigniter
__autoload is the old, deprecated way of doing autoloading, because you can have only one.
You should register your autoloader using spl_autoload_register. e.g.:
function customCIAutoload($class){ if(strpos($class, 'CI_') !== 0) { @include_once( APPPATH . 'core/'. $class . EXT ); }}spl_autoload_register('customCIAutoload');
This way your autoloader and composer's will coexist happily.