Datadog collects and monitors your PHP app metrics and distributed traces in real-time with application performance monitoring. Decrease downtime and performance issues with Datadog APM by tracing requests across service boundaries and drilling into individual traces end-to-end with flame graphs. Start your 14-day trial for free today.

How to generate and view code coverage reports in PhpStorm using PHPUnit and Xdebug

Link –

In this video, you'll learn how to generate code coverage reports, and how to display them directly in PhpStorm.

This video is part of our Laravel Package Training video course. In that course, you'll learn how to create both framework agnostic and Laravel specific packages. We'll also source dive some popular Spatie packages together, so you can pick up some tricks we apply there.

Here are some interesting resources you can check out after watching the video:

In the video you see me using "xdebug off" to turn Xdebug off. My bash function actually works a little bit different. Just execute "xdebug" to toggle Xdebug on and off.

Stay up to date with all things Laravel, PHP, and JavaScript.

Follow me on Twitter. I regularly tweet out programming tips, and what I myself have learned in ongoing projects.

Every two weeks I send out a newsletter containing lots of interesting stuff for the modern PHP developer.

Expect quick tips & tricks, interesting tutorials, opinions and packages. Because I work with Laravel every day there is an emphasis on that framework.

Rest assured that I will only use your email address to send you the newsletter and will not use it for any other purposes.

Comments

Webmentions

Benjamin Guez replied on 2nd June 2020
Hey! Have you tried PCov? Configurable directly within PhpStorm (under edit configuration), focused on coverage only, and up to 10x faster :) - also no need to have to toggle anything. Give it a try if you haven’t, you’ll love it!
David Cottila retweeted on 2nd June 2020
NUNO MADURO retweeted on 2nd June 2020
TheSammie retweeted on 2nd June 2020