Blast from the past – Links from my bookmarks – part 2

Here’s another batch of articles from my reading list that have proven incredibly valuable. This collection covers everything from monitoring and metrics to serverless databases and modern CSS techniques.

Visualising Laravel and Horizon Metrics Using Prometheus and Grafana

https://freek.dev/2507-visualising-laravel-and-horizon-metrics-using-prometheus-and-grafana

Freek Van der Herten walks through setting up Prometheus and Grafana to visualize Laravel Horizon metrics. If you’ve ever wondered whether your queue workloads are healthy, this article is a must-read. The spatie/laravel-prometheus package makes it incredibly easy to export both technical metrics (queue workloads, failed jobs) and business metrics (user counts, subscriptions) to Prometheus. The detailed setup guide for Grafana Cloud makes what seems like a daunting task surprisingly approachable. Being able to see the “heartbeat” of your queues over time is a game-changer for monitoring.

How to Use IP2Location.io PHP SDK in Symfony

https://blog.ip2location.com/knowledge-base/how-to-use-ip2location-io-php-sdk-in-symfony/

This tutorial demonstrates integrating IP2Location.io with Symfony for geolocation features. Whether you need to display location information based on a visitor’s IP or redirect users to region-specific content, this guide has you covered. The article provides complete working examples for both displaying detailed geolocation data and implementing geo-based redirects. It’s a practical resource if you’re working on any Symfony project that needs location-aware features.

Using PlanetScale with Serverless Framework Node Applications on AWS https://planetscale.com/blog/using-planetscale-with-serverless-framework-node-apps-on-aws

This article by PlanetScale shows how to build a completely serverless stack by pairing their database with AWS Lambda through the Serverless Framework. What I love about this guide is how it handles environment variables securely using AWS SSM and demonstrates the power of combining PlanetScale branches with Serverless Framework stages. The ability to have separate dev and prod environments that are completely isolated yet identical is incredibly powerful for testing both code and schema changes safely.

Lifecycle Hooks in Laravel: How to Build Them and Why You’d Want To

https://laravel-news.com/lifecycle-hooks-in-laravel-how-to-build-them-and-why-you-d-want-to

Len Woodward introduces a brilliant pattern for adding lifecycle hooks to your Laravel code. The article tackles a common problem: how do you handle the same logic differently based on context (CLI vs queue, for example) without duplicating code? The solution using closures and traits is elegant and flexible. You can easily add progress callbacks that send Slack notifications in queued jobs or echo to the console in Artisan commands, all without the classes needing to know about these details. This is a pattern I’ve started using in my own projects.

Laravel Application Synchronization with Redis https://roundly-consulting.com/blog/laravel-application-synchronization-with-redis

This article explores how to configure multiple Laravel applications to share a single Redis instance for synchronization. It covers setting up Redis connections, dispatching and processing synchronization jobs, and using custom key prefixes to maintain data isolation between different queue types. If you’re working with multiple Laravel apps that need to coordinate tasks or share queue processing, this guide provides a solid foundation for setting up that infrastructure.

Rebuilding a Comment Component with Modern CSS

https://ishadeed.com/article/comment-component

Ahmad Shadeed dives deep into rebuilding a nested comment system using cutting-edge CSS features like :has(), container queries, and CSS subgrid. What starts as a “simple” comment layout quickly reveals fascinating complexity when you consider nested replies, connecting lines, and multilingual support. The article brilliantly demonstrates how modern CSS can handle previously JavaScript-dependent features. The use of style queries with CSS variables for managing comment depth is particularly clever, and the logical properties ensure the design works seamlessly in both LTR and RTL languages.

These articles represent some of the best technical content I’ve found recently. Each one taught me something new or showed me a better way to solve a problem I’ve encountered. Hope you find them as useful as I did!