10.creating-flexible-controllers-using-repositories

#1#
composer.json:
$ composer dump-autoload
#2#
app/lib/Yiqifu/Storage/StorageServiceProvider.php:
If you remember back to my article on creating a Laravel 4 Package, the
register method is automatically called on the Service Provider. This
allows you to bootstrap your files so everything is loaded correctly.