I just created a simple app in Laravel 4 and when I create a model, I get an exception that it\'s not found.
// /app/models/Worker.php:
I think there are two commands to get the autoload started:
$ composer dump-autoload
and
$ php artisan dump-autoload
Seems composer dump-autoload is to let composer create autoloads as defined in the composer.json files. And php artisan dump-autoload glues all the composer dump-autoloads ( also from vendors and workbenches ) together.
Anytime you create a new class file in L4 run this command.
php composer dump-autoload