Easy way to count how many database queries were made in Laravel
$counter = 0; \DB::listen(function() use (&$counter) {$counter++;}); // Do stuff dd($counter);
$counter = 0; \DB::listen(function() use (&$counter) {$counter++;}); // Do stuff dd($counter);
Want to use the more classic look of links when using the Tailwind typography prose plugin? Here's how.
I was asked on Twitter to compare the hot new Cursor AI Editor with PhpStorm for Laravel developers. Here are my quick thoughts!
Here is how to update your GitHub CLI version on Windows.
Wondering how to customize the maintenance mode view in Laravel? Just publish the 503 error page.
Need to make users from the Artisan console? Add this command!
Worried about SHA1 hash collisions when hashing GitHub repository names? Don't be.
How to toggle between two Windows audio output devices using a PowerShell script and the AudioDeviceCmdlets module.
How to check the temperature of your Ubuntu system without installing any software, with a Bash alias to make it easier.
Workflow to create a simple and fast YAML linter/validator in GitHub Actions
Learn how to automatically create static directory listings on GitHub Actions/Pages with a simple PHP script.
Learn how to recover an overwritten stash in GitHub Desktop.
Instead of creating a temporary collection just to use array helpers, you can use the Laravel Arr helpers directly.
Here is how to add the Tailwind Typography plugin to Laravel Breeze to get the prose classes
A to the point list of commands to get a Linux and PHP server up and running.
This is a HydePHP website containing random tips to developers on how they can improve their workflows.
Learn to push only the first Git commit to a remote repository while keeping others untouched.