Migrating to Laravel 5

posted in SnailLife
Published May 06, 2015
Advertisement
A few days ago I decided that there's no use putting it off any longer - it's time to upgrade to Laravel 5. I've been sitting on 4.2 for months and 5 is a major revision to...well...everything.

I knew this would be a large setback in terms of feature work. The migration would break things, things that would make me wish I'd never done it at all. In addition the plugins I'd been using for 4.2 would no longer be compatible with 5 (in fact, I don't think any of them are...)

I was using:

  • Confide for user authentication
  • Dispatcher for scheduled commands
  • Latchet for a Laravel-specific implementation of Ratchet.


The first two I just got rid of completely, using Laravel 5's authentication features and new command scheduling feature that does exactly what Dispatcher used to for me.

The last one I haven't even started on yet. It's going to be the toughest.

The most "breaking" update in Laravel 5 has been namespaces. I've been sitting here adding namespace declaration to all of my files. It's time consuming, but better in the long run and actually pretty relaxing. If this is the biggest problem I'll run into during this migration I'll be happy (Latchet aside, of course).

Anyway, within the next couple of days I hope to have the migration complete and functional. Then it's back to substrate and brains!
1 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement