laravel/laravel — pull request #768 by kloy (2012-06-05 15:37:20+00:00)
Title: Auto loading of bundles in artisan.

This pull request adds the ability to autoload bundles in artisan while preserving the current functionality. It works as follows...

// In bundles.php
// new functionality for auto
// autoloading of composer bundle in web and cli environments
return [
'composer' => ['auto' => ['cli' => true, 'web' => true]],
];

// In bundles.php
// current functionality
// autoloading of composer bundle in web environment only
return [
'composer' => ['auto' => true],
];