RSSAmplifier

Blog

Vlad Osmianski blog

A full-stack Web developer and entrepreneur for 20+ years from Vilnius, Lithuania.

osmianski.comRSS feed ↗9 posts

Latest posts

Resolve any `*.test` domain to `localhost`

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 ...

Track GitHub Issue Checklist Progress Using 1 Simple Script

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...

Quick Guide to Implementing Features in Laravel

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...

Sharing Local Laravel App Using Ngrok

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...

Creating Composer package for Laravel from scratch

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 ...

Autoupdating Project Dependencies

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...

Debuging Laravel Sail Projects

Add to .env: SAIL_XDEBUG_MODE=develop,debug,coverage Restart sail up. In PHPStorm, add mapping in Settings → PHP → Servers → 0.0.0.0 to /var/www/html.

Configuring Server-Side Rendering In A Laravel + Vue + Inertia Project

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...

Creating Laravel + Vue + Inertia project

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 ...