Migrating to work on Laravel 5