Collision CLI Error Handler is coming to Laravel 5.6

January 31, 2018 By - Usama Muneer | 589

    Taylor Otwell will announce the Laravel new 5.6v just after his talk at this year’s Laracon Online. Book your ticket if you haven’t.

    But what’s crazy coming up in the newer version of Laravel is the collision CLI Error handler, which means you’ll get nice error reporting right in your terminal.

    Example

    Below is the small example where I’ve tried running the migrate command in a new Laravel project & it’s now showing this set of errors.

    example

    Its built on top of whoops, framework agnostic & available for use. Head over to the Github repo & show some support for this awesome package.

    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.