Migrating to Laravel 5.6

February 10, 2018 By - Usama Muneer | 797

    As you might have heard, Laravel 5.6 is out with lots of new stuff packed for developers.

    Here’s what you need to know before migrating your website from Laravel5.5 to Laravel 5.6

    Laravel 5.6 requires you to have PHP 7.1.13 or higher

    So if you’re looking to migrate your project to Laravel 5.6, you need to make sure your machine is running on PHP 7.1.13 or higher.

    Update your composer.json file

    Change phpunit/phpunit version to ~7.0

    Well thats the most basic steps to do, try & run composer update & see if everything works as it was before.

    You may follow this guide for more detailed information.

    blog user
    Usama Muneer

    A web enthusiastic, self-motivated & detail-oriented professional Full-Stack Web Developer from Karachi, Pakistan with experience in developing applications using JavaScript, WordPress & Laravel specifically. Loves to write on different web technologies with an equally useful skill to make some sense out of it.

    Related Posts

    If you've no idea what macroable functionality is, take it as something you want to extend in within Laravel with a piece of code that doesn't exists in the Class.

    The back-end is one of the integral parts of modern web application development & PHP is one of most preferred platforms.

    If you're on MacOSX & use Laravel valet for managing your development environment. Then this issue might arouse when you try to upgrade your PHP version or even Laravel Valet. But there's an easy fix for that.

    Maintaining Database Relationships in Laravel is quite a task but when it comes to nested relationships, things get a bit tangled up to handle.