Resolving an Invoice Number Collision in an E-Invoice Integration
Two workers produced the same invoice number in production. A log of how I resolved the race condition vs. legal gap dilemma in a real project.
Tag
Building modern PHP applications with the Laravel framework.
There are 43 posts with this tag.
Two workers produced the same invoice number in production. A log of how I resolved the race condition vs. legal gap dilemma in a real project.
From 2014 to 2026, twelve years with Laravel — a story of maturing with a tool, outgrowing it, and choosing it again.
The mature, repeatable process I follow when shipping a feature across API, web, and mobile simultaneously.
I evaluate the changes in Laravel 12 and how the framework's annual release tempo affects project planning.
An honest journal from a developer running the API, web, and mobile single-handedly — the real trade-offs of solo product development.
The end-to-end workflow for delivering a single feature simultaneously across API, web, and mobile layers — lessons from building Looplio.
The practical decisions and lessons learned while consistently serving a single business logic to both React Native and web clients in Looplio.
A look at Laravel 11's leaner skeleton, the defaults that were removed, and the concrete impact on everyday development workflows.
How to set up asynchronous job queues in Laravel using the database driver, and keep workers running reliably in production with Supervisor.
Adding live updates with Laravel Broadcasting: event-driven publishing, Pusher integration, and listening on the client side.
Laravel 10's type discipline and the new Process facade: how the framework's maturing codebase translates into better day-to-day development.
How Laravel 9's annual release cadence affects project planning, and what PHP 8 compatibility means for your codebase.
I explain the syntax and structural differences that turned test writing from a chore into a habit when moving from PHPUnit to Pest.
How Laravel Octane eliminates per-request bootstrap overhead — and the trade-offs that come with it.
How to write more testable and maintainable code by moving business logic out of controllers and into single-purpose action classes.
How Inertia.js delivers a single-page-app feel without a separate API, how it integrates with Laravel, and when it's the right choice.
A deep dive into Laravel 8's class-based factory system and new directory layout, focused on generating test and seed data.
How Laravel Sanctum solves SPA authentication, and why its cookie-based approach is cleaner than token-based alternatives.
A practical look at Livewire's server-driven interaction model — when it's the right choice, and where its limits lie.
What does the Laravel 6 LTS release actually mean? Evaluating the long-term support decision against your project's lifespan and how to approach versioning strategy.
A practical guide to truly understanding Laravel's dependency resolution mechanism: how to use service providers and the IoC container the right way.
How I use Laravel's task scheduler to manage multiple scheduled jobs from a single cron entry, keeping all scheduling logic readable and version-controlled inside the codebase.
Practical notes on adding multi-language support to Laravel: organizing language files, separating text from code, and managing locale switching.
How I built a full calendar feature in Laravel from scratch, handling recurrence rules, timezones, and date range queries end to end.
How I use Laravel Notification classes to send the same notification logic across multiple channels — email, SMS, and more.
How to produce clean API responses with Laravel Resource classes without leaking your database model directly to clients.
How to centralize authorization logic in Laravel using Gates and Policies, keeping 'who can do what' decisions clean and testable.
Real problems and solutions encountered while integrating iyzico payments into a Laravel project — things not in the documentation.
Laravel Mix provides a fluent API that lets you compile JavaScript and CSS assets without writing Webpack configuration from scratch.
Setting up reliable, maintainable transactional emails using Laravel's Mailable class and Blade email templates.
How the @component directive introduced in Laravel 5.4's Blade templating engine lets you split views into reusable, well-defined pieces.
A walkthrough of the end-to-end flow for file uploading, validation, and image resizing in Laravel.
How I use Laravel's event system to decouple side effects from the main flow — with practical examples of what you gain.
How I manage multiple user types in a single Laravel 5.2 application using guards and route groups.
What middleware is in Laravel, how to write it, and how to centralize cross-cutting concerns like authentication in one place.
How to define hasMany and belongsTo relationships in Laravel Eloquent, and how to solve the N+1 query problem with eager loading.
A practical walkthrough of building interface-agnostic JSON API endpoints in Laravel.
A step-by-step walkthrough of setting up Laravel Homestead to eliminate the classic 'it works on my machine' problem across teams.
A walkthrough of the key changes when moving from Laravel 4 to 5 — directory layout, .env configuration, and application bootstrapping.
A repeatable pattern for safely handling user input: Laravel validation rules and error messages.
From writing raw SQL to model-based access: a practical look at Laravel's Eloquent ORM and how it fits into day-to-day development.
The practical payoff of separating the view layer from logic: using Blade layouts, sections, and partials.
The structure that comes from moving beyond raw PHP to a framework: first impressions, installation, and the basics of Laravel 4.