https://dev.to/zaratedev https://dev.to/zaratedev Posted on Feb 15 https://dev.to/t/laravel https://dev.to/t/php https://dev.to/t/xdebug https://dev.to/t/laravel9 In this post, we are going to configure XDebug for test coverage in Laravel Framework v9. First, go to xdebug wizard https://xdebug.org/wizard, copy your phpinfo() and paste into the wizard, follow the instructions. To enable test coverage you must edit the php.ini file, then add the following line: xdebug.mode = coverage

It will become hidden in your post, but will still be visible via the comment's #.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners