Amadeusz Annissimo Blog
Amadeusz Annissimo Blog
Follow
Follow
homeAbout Me

How to move assets between containers in Statamic 5

Nov 29, 20242 min read

I recently realized that in one of my blueprints, inside a custom “captioned image” Bard set I was unintentionally storing images in a local asset...

How to set up connection to MySQL database through SSH Tunnel in Laravel Sail

Mar 22, 20246 min read

I recently ran into a situation, where I had to connect to MySQL database from within a Laravel app in Laravel Sail via SSH tunnel. Specifically, in...

How to set up connection to MySQL database through SSH Tunnel in Laravel Sail

How to open localhost websites from your local dev environment on your iPhone?

Nov 28, 20234 min read

When developing web apps and websites locally, I sometimes want to test how they behave on my iPhone or iPad without having to deploy them to a...

How to push to remote Git repo from VS Code Docker devcontainer on Windows with WSL2

Nov 22, 20231 min read

I've been recently experimenting with migrating my local Laragon dev environment to Docker with Laravel Sail. One of the problems I ran into, was...

Laravel Validation: Validating Input as Equal to a specific value or PHP Variable

Oct 20, 20234 min read

TL; DR; As of version 10, Laravel does not have a built-in way to validate that a field is equal to a specific value. However, you can easily create a...

Laravel's HasLocalePreference: Writing PHPUnit Tests for Notifiable's Default Locale

Aug 25, 20232 min read

Background: How to define default Locale for Notifiable Since Laravel 5.7.7, you can set the preferred locale on a Notifiable. In other words, you can...