Posts

August 7, 2020
How to fix PHPStorm not autocompleting Tailwind CSS classes

When your CSS file gets too big, PHPStorm will stop providing autocompletion for CSS classes. This post explains how to fix that problem.

June 30, 2020
Force syncing a fork

How to reset a forked repository to be the same as upstream.

May 14, 2020
Write prettier Laravel Dusk tests by abusing a PHPUnit data provider

An approach for writing prettier Laravel Dusk tests by using some reflection and a PHPUnit data provider.

January 8, 2020
New exclude_if / exclude_unless validation rules in Laravel 6

Laravel 6 adds two new validation rules: exclude_if and exclude_unless. They make it easy to completely exclude specific attributes from the validated request data.