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.
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.
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 […]