Linux This setup uses dnsmasq to handle *.test domain resolution, with systemd-resolved forwarding those queries to dnsmasq. # Install dnsmasq sudo apt update sudo apt install dnsmasq # Configure dnsmasq to listen on 127.0.0.2 and resolve *.test to ...
Until recently, GitHub issues had a handy indicator showing how many check list items are inside, and how many of them are checked. Not anymore. It’s gone. If it bothers you, stay with me, this article is how to compensate it. The solution is to crea...
Most changes follow the same path: DB: schema, models, factories, seeders, validators UI: lists, modals, forms Tests: list actions, modal actions, modal validation Simple. Sometimes, when developing UI or tests you'll find that something is miss...
Imagine that you want to access your local Laravel app from another device. There is an amazing service for that called ngrok. This article explains how to use it, and how to fix one annoying gotcha. Start app Start Laravel Sail: sail up Note that o...
Let me guess. You are reading this piece because you have something reusable in your Laravel project, and you want to create a Composer package and actually reuse it in other projects. If so, hang on, you are in the right place. Example project In a ...
Introduction Most probably you've heard about Dependabot. It's a GitHub service that checks if your project dependencies have new releases, and updates your project, automatically. I believe it's a great help to many, many developers. However, it re...
Update. Code snippets updated to use Inertia.js 1.0. My last article provided a detailed step-by-step guide about adding Vue.js and Inertia.js to a Laravel project. All is good, but here is one little problem. It renders pages using JavaScript, and i...
Update. Code snippets updated to use Inertia.js 1.0. Recently, I've been learning what's new in the Laravel world, and I've got pretty excited about Laravel, Vue.js and Inertia.js combo. Really, it combines the smoothness of single-page applications ...