__ __ _ _
| \/ |_ _| |__ __ _ _ __ ___ _ __ ___ __ _| |
| |\/| | | | | '_ \ / _` | '_ ` _ \| '_ ` _ \ / _` | |
| | | | |_| | | | | (_| | | | | | | | | | | | (_| | |
|_| |_|\__,_|_| |_|\__,_|_| |_| |_|_| |_| |_|\__,_|_|
__ __
\ \ / /_ _ __ _ __ _ ___
\ \ /\ / / _` |/ _` |/ _` / __|
\ V V / (_| | (_| | (_| \__ \
\_/\_/ \__,_|\__, |\__,_|___/
|_|
Software Engineer
Welcome to my corner of the internet. I build backend systems with PHP and Laravel. Currently exploring Go.
Recent work and open-source contributions.View all →
A production-grade multi-tenant hotel booking engine API with an enterprise payment processing system and a comprehensive admin dashboard. Built on PHP 8.4 and Laravel with Octane for high-throughput request handling across multiple hotel properties with complete tenant isolation. The core booking flow uses saga-based distributed transactions with Server-Sent Events streaming for real-time client updates, recovery checkpoints for crash resilience, and price verification with fraud tolerance thresholds. A dynamic pricing engine handles per-room, per-person, and package modes with tax calculations (VAT brackets, municipality tax, company overrides), discount stacking, children pricing, and length-of-stay discounts. The generic search engine follows Clean Architecture with a 9-filter pipeline, specification pattern composition, and dual-format responses (JSON + Protocol Buffers). Enterprise capabilities include multi-gateway payment processing (TAP, Stripe, PayPal, Adyen, Network International, Tabby, Tamara) with 10+ regional payment methods, a Livewire admin dashboard covering hotel, room, rate, payment, user, and system management, multi-channel notifications with template registry and saga compensation, and an analytics engine with 11 statistical functions and concurrent metric processing. Code quality enforced at PHPStan level 9 with zero baseline errors. Security features HMAC request signing with Argon2id hashing, dual-guard authentication (JWT + HMAC for API, session + OTP for dashboard), automated secret rotation, progressive rate limiting with blocking, and nightly security audits.
A production-grade, multi-language hotel booking frontend built with Next.js 16 and React 19. The application provides a complete booking experience from hotel search to payment processing, with full RTL support for Arabic and Urdu markets. SEO optimization with JSON-LD structured data, server-side caching with Redis, and observability through structured logging ensure production reliability. Integrates securely with the Laravel backend via signed requests and Protocol Buffers for optimized data transfer. A modular component library and comprehensive API layer support 6 locales with strict TypeScript throughout. The booking flow uses a state machine pattern ensuring invalid states are impossible at compile time. Real-time booking status streaming provides live progress feedback during checkout. Server-side caching leverages Next.js "use cache" directives with cacheTag() and cacheLife() for granular control, backed by Redis distributed cache with graceful in-memory fallback when Redis is unavailable. Cross-tab session validation uses the Visibility API for session integrity checks, client fingerprinting for rate limiting, and queueMicrotask()-based cross-store synchronization between Auth, Session, and Profile Zustand stores. Structured JSON logging with request correlation IDs powers observability. A custom hooks library covering timers, responsive behavior, body scroll locking, outside click detection, keyboard interactions, input debouncing, and persistent storage provides reusable utilities with consistent API patterns. Profile management supports multi-step editing with nationality and document management. Booking history displays paginated lists with timeline views and status filtering. GSAP-powered animations enhance visual transitions while maintaining accessibility compliance.
Open-source Laravel package for Tap Payments API integration. Provides a fluent interface for charge creation, two-step authorizations (hold & capture), invoicing, and recurring subscriptions. Supports 12+ regional payment methods across the MENA region. Features a Billable trait for direct model integration ($user->charge()), 6 domain events for payment lifecycle tracking, and HMAC-SHA256 webhook security. Built with developer experience in mind, offering type-safe parameters, idempotency protection, and a chainable builder pattern.
+----------------------------------+ | LET'S WORK TOGETHER | +----------------------------------+
Have a project in mind? I'm available for freelance work and full-time opportunities.
═══════════════════════════════════════
Thanks for visiting! 🖥️
═══════════════════════════════════════