How I designed the credit system for a live SaaS: plan credits that reset on each Stripe invoice, an on-hold reservation pattern that stops concurrent jobs from overspending, one service as the single source of truth for rates, and the edge cases leaked reservations, upgrade proration that only show up in production.
Queue design lessons from a production Laravel SaaS: why I split work across five named queues on the database driver, the job standards every class must declare, and the hardening pass after transient failures started throwing MaxAttemptsExceededException batch sizes, staggering, and worker timeout rules included.
A walkthrough of how I structured a recent credit-based Laravel SaaS as a solo build: Laravel 11 with FilamentPHP as the entire product UI, database queues split across five workers, Stripe subscriptions via Cashier, and the conventions that kept a four-month MVP maintainable after launch.
I built a small engine a folder of Markdown where your real site goes in as read-only source, gets distilled once into a structured knowledge base, and every future post is written from that. Includes the scraping step, the full directory structure, and the exact prompt that builds the engine.
If you’ve recently migrated your WordPress site to Kinsta and it mysteriously starts redirecting to yourdomain.wpenginepowered.com, you’re not alone — and you’re not hacked. In my case, after moving yourdomain.com from WP Engine to Kinsta, I ran into exactly this problem. Everything looked fine, but the redirect persisted. Here’s the full story and how to […]
In this tutorial, I’ll walk you through setting up database notifications using Filament in your Laravel application. We’ll cover how to send notifications and configure real-time updates. Step 1: Install Notifications Require the Notifications package using Composer: Run the following command to install the Notifications package assets: Step 2: Implement Notification Use the Filament\Notifications\Notification class to create […]
I was working on a project in Laravel using FilamentPHP v3 and decided to write this article to share how simple it is to add a user profile picture feature and display it as an avatar. Let’s dive in! 1. Add/Update Profile picture option: Step 1: Update Your Database First, we need to add a […]
While working on a Laravel app, I ran into an annoying problem that I’m sure many of you have faced. I had created a few custom variables in my .env file and was using them throughout my app with the env('VARIABLE_NAME') function. It was working fine until I made some changes to the app. Suddenly, […]
Are you looking to enhance your product gallery with a sleek and interactive slider? Look no further! In this tutorial, I’m going to use Splide JS Slider/Carousel that offers a dynamic way to showcase your products. Extra: I’ll also show you how you can automatically highlight the active slide when you hover over its thumbnail. […]