Jump to content
Sign in to follow this  
  • entries
    25
  • comments
    26
  • views
    26358

Migrating to Laravel 5

Sign in to follow this  
Liza Shulyayeva

1010 views

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!
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!