Collision CLI Error Handler is coming to Laravel 5.6

January 31, 2018 By - Usama Muneer | 805

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