Sarıkaya Dev Logo

Mahmut Sarikaya - Software Developer

Blog

Building Event-Driven Microservices with Laravel, Kafka, and the Saga Pattern

Building Event-Driven Microservices with Laravel, Kafka, and the Saga Pattern

Explore how to transform a monolithic Laravel application into a scalable event-driven microservices system using Apache Kafka for message streaming and the Saga pattern for reliable distributed transactions. The guide covers installing Laravel Kafka clients, designing idempotent event handlers, orchestrating sagas with Laravel jobs, and best practices for monitoring and scaling the whole pipeline.

September 1, 202630Detail→
Build Real‑Time Full‑Stack Apps with Laravel, Supabase Edge Functions, and Livewire

Build Real‑Time Full‑Stack Apps with Laravel, Supabase Edge Functions, and Livewire

Learn how to combine Laravel with Supabase Edge Functions to offload real‑time data sync, authentication, and storage while keeping the UI responsive using Livewire. This guide covers setting up Supabase projects, creating edge functions for CRUD events, integrating them with Laravel via webhooks, and building a seamless, serverless full‑stack experience.

September 1, 202610Detail→
Running Laravel Inference APIs at the Edge with Cloudflare Workers AI

Running Laravel Inference APIs at the Edge with Cloudflare Workers AI

Explore how to deploy Laravel-powered machine‑learning inference endpoints directly on the Cloudflare edge using Workers AI and PHP compiled to WebAssembly. The guide covers setting up a Laravel micro‑service, integrating the Workers AI model runtime, handling request routing, and optimizing latency for global users.

September 1, 202610Detail→
Leveraging PHP 8.3 Fibers in Laravel 11 for High‑Throughput Asynchronous APIs

Leveraging PHP 8.3 Fibers in Laravel 11 for High‑Throughput Asynchronous APIs

Explore how Laravel 11 can harness PHP 8.3 Fibers to run truly asynchronous request handling, dramatically increasing API throughput. The guide walks through setting up Fiber‑based job pipelines, integrating async HTTP clients, and deploying with Octane for production‑grade performance.

September 1, 202610Detail→
Building a GraphQL Federation Architecture with Laravel Lighthouse and Apollo Gateway

Building a GraphQL Federation Architecture with Laravel Lighthouse and Apollo Gateway

Learn how to turn multiple Laravel services into a cohesive GraphQL federation using Lighthouse as subgraph servers and Apollo Gateway as the unified API layer. The guide covers schema stitching, centralized authentication, performance tuning, and deployment strategies for a scalable microservices ecosystem.

September 1, 202620Detail→
Real-time Collaborative Editing in Laravel with Livewire, Turbo Streams, and Yjs

Real-time Collaborative Editing in Laravel with Livewire, Turbo Streams, and Yjs

Learn how to build a seamless collaborative text editor in Laravel by combining Livewire’s server‑driven UI, Turbo Streams for instant DOM updates, and Yjs’s CRDT engine for conflict‑free real‑time syncing. The guide covers WebSocket setup with Laravel Echo, data persistence strategies, and practical integration patterns for production‑ready teamwork applications.

September 1, 202630Detail→
Build a Multi‑Tenant SaaS Platform in Laravel with Tenancy, Stripe, and Fly.io

Build a Multi‑Tenant SaaS Platform in Laravel with Tenancy, Stripe, and Fly.io

Learn how to architect a scalable multi‑tenant SaaS application using Laravel and the Tenancy for Laravel package for data isolation, integrate Stripe for automated tenant billing, and deploy the whole stack to Fly.io for edge‑first performance. The guide walks through database sharding strategies, middleware for tenant resolution, subscription lifecycle management, and CI/CD pipelines that push updates globally with zero downtime.

September 1, 202650Detail→
Zero‑Trust Authentication in Laravel with Cloudflare Access, OIDC, and Fortify

Zero‑Trust Authentication in Laravel with Cloudflare Access, OIDC, and Fortify

Learn how to secure Laravel applications with a zero‑trust model by integrating Cloudflare Access as an identity provider using OpenID Connect (OIDC) and Laravel Fortify. The guide covers configuration of Cloudflare Zero‑Trust policies, OIDC client setup, route protection, and real‑world use cases such as internal dashboards and API gateways.

September 1, 202650Detail→
Type‑Safe APIs with Laravel 11: Typed Routes, Enum Validation, and Auto‑Generated OpenAPI

Type‑Safe APIs with Laravel 11: Typed Routes, Enum Validation, and Auto‑Generated OpenAPI

Explore Laravel 11's new typed route signatures and built‑in enum support to create fully type‑safe APIs. Learn how to combine these features with automatic OpenAPI schema generation using tools like spatie/laravel-openapi, cutting boilerplate and boosting developer confidence.

September 1, 202650Detail→
Deploy Laravel on Fly.io: Edge‑First, Auto‑Scaling, Zero‑Downtime

Deploy Laravel on Fly.io: Edge‑First, Auto‑Scaling, Zero‑Downtime

Learn how to containerize a Laravel application and deploy it to Fly.io’s global edge network for automatic scaling, low latency, and seamless zero‑downtime releases. The guide walks through Dockerfile best practices, Flyctl configuration, managed PostgreSQL and Redis add‑ons, and integrates GitHub Actions for continuous deployment.

September 1, 202650Detail→
Event Sourcing in Laravel with Spatie Event Projector: Auditable, Scalable Apps

Event Sourcing in Laravel with Spatie Event Projector: Auditable, Scalable Apps

Explore how to implement event sourcing and CQRS in Laravel using Spatie's Laravel Event Projector. The guide covers setting up aggregates, event streams, projections, and read models, providing a robust, auditable architecture for high‑traffic applications.

September 1, 202660Detail→
Mastering Feature Flags in Laravel with Pennant, Cloudflare KV, and A/B Testing

Mastering Feature Flags in Laravel with Pennant, Cloudflare KV, and A/B Testing

Learn how to implement robust feature flagging in Laravel using the new Laravel Pennant package, backed by Cloudflare KV for ultra‑fast edge storage. This step‑by‑step guide covers setup, integration with Laravel Octane, real‑time toggles, and practical A/B testing scenarios to enable safe, incremental releases.

September 1, 202660Detail→