Posts tagged with “Php”
A multi-stage Dockerfile for Laravel and FrankenPHP
A walkthrough of a four-stage Dockerfile that ships a lean Laravel 13 image on FrankenPHP, plus the entrypoint and Compose services to actually run it.
Investigating the performance of Laravel's `whereIn` vs `whereIntegerInRaw`
Revisiting a classic Laravel tip: does `whereIntegerInRaw()` outperform `whereIn()` in 2026?
Using Laravel's `PromptsForMissingInput` interface
Discover how to enhance your Laravel Artisan commands using the PromptsForMissingInput trait. Learn to dynamically prompt for missing arguments, apply real-time validation, and leverage Laravel Prompts for secure, interactive input. Build more robust, user-friendly CLI tools with minimal effort.
Cross-Language Queues: Sending Jobs from Node.js to Laravel
Did you know you can push jobs into a Laravel queue from outside your application? Whether you're offloading tasks from a Node.js service or integrating Laravel with external systems, queues make it easy to handle background processing efficiently. In this post, I'll show you how to send a Laravel job from a Cloudflare Worker using AWS SQS—perfect for reducing load on your main app while keeping everything in sync.
Creating a Custom PHP Carbon formatter using macros
Using a Carbon macro to customise formatting of date intervals.
Using Visual MySQL Explain with Laravel
Using mysqlexplain.com's new Visual Explain mode to analyse and improve query performance in Laravel
Using MySQL Views with Laravel
Using MySQL views with Laravel allows you to encapsulate a lot of logic in a model class, which simplifies code, and can improve performance over eager-loading lots of relationships.
I built something
Etsy Merchant Feeds allows you to create a product feed of your Etsy listings to use when tagging posts on Instagram, or creating Google Shopping ads.
Event Listeners in Laravel 11
Simplifying event listener registration in Laravel 11
Splitting out Microservices
I've always valued simplicity in all the code I write, and in every bit of infrastructure I maintain. As such I've always favoured monolithic software architecture. So why and how have I recently split out two microservices from our monolith?
Blogging with weblog.lol and GitHub actions
My blog is run on omg.lol's weblog.lol service. In this blog post I want to show how I'm using a GitHub action and the weblog.lol API to manage my blog in Git, rather than through their web interface.
My first composer package: Add AI powered fixes to your Laravel error pages
A composer package to use the OpenAI API to show AI-powered fixes for errors in your Laravel application.
Add AI powered fixes to your Laravel error pages
Use the OpenAI API together with Laravel Ignition's Suggestions to show AI-powered fixes for errors in your Laravel application.
How I Deal with Money in PHP
Dealing with money and multi-currencies in Laravel and SQL the easy way.