Migrating to Laravel 5.6

February 10, 2018 By - Usama Muneer | 562

    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'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.

    When it comes to validation in Laravel. Developers often refer to using separate Requests to achieve it. Now for creating and updating, rules might get a little bit tricky. But we've got you covered.

    While Developing applications in Laravel, there comes situations where you have date in simple string format. For instance getting raw response from an API. But you want to convert that string into Carbon instance and use the Carbon helpers on it. Well there's a simple solution to it.