Laravel 4 migrations – class not found-Collection of common programming errors

This question is now solved – I used the below:

And, problem solved thanks to IRC. I was told to run

php composer.phar dump-autoload

This fixes the problem for me. It’s likely related to my strange Composer setup.

I’ve just started playing with Laravel 4 for a possible future project, having come from Laravel 3. I have started off by creating a new migration, create_blogs_table using artisan:

php artisan migrate:make create_blogs_table --table=blogs --create

This generated the basic migration file structure which I then filled out a little more: