Sadique Ali

Senior Laravel and Vue.js developer based in Jhansi, India, with 9+ years of professional experience building web applications. I've worked across the full Laravel ecosystem — from REST APIs and multi-tenant SaaS platforms to Filament admin panels and Livewire-powered interfaces. I started Apna Hive to write the kind of content I wished existed when I was learning: practical, opinionated, and based on real projects rather than documentation rewrites. Every article here comes from something I've actually built, debugged, or upgraded in production. When I'm not coding, I'm exploring what's next in the PHP ecosystem so you don't have to wade through the noise alone.

Laravel Vector Search: Semantic Search in Your App Without a PhD in Machine Learning

whereVectorSimilarTo(), embeddings, pgvector, cosine similarity, chunking strategies, and the difference between keyword search, full-text search, and semantic search — a plain-English guide to making your Laravel app understand what users mean, not just what they type. Here’s what happens with every search feature built on… Read More »Laravel Vector Search: Semantic Search in Your App Without a PhD in Machine Learning

Building an AI Chat Interface in Vue 3: The Component Architecture Nobody Shows You

Streaming token rendering, auto-scrolling message lists, optimistic message inserts, abort/cancel mid-generation, markdown rendering with syntax highlighting, and the composable that manages all of it — the real-world Vue AI chat implementation, not the toy demo. Every AI chat tutorial shows you the same thing: a… Read More »Building an AI Chat Interface in Vue 3: The Component Architecture Nobody Shows You

Streaming AI Responses in Laravel: How to Make Your App Feel Instant When the Model Is Still Thinking

Server-sent events, Laravel’s streaming response helpers, Livewire real-time updates, broadcasting AI output token by token, handling mid-stream errors, and the UX patterns that make users feel like the AI is typing — not loading. The complete implementation guide. The UX difference between a loading spinner… Read More »Streaming AI Responses in Laravel: How to Make Your App Feel Instant When the Model Is Still Thinking

The JavaScript Promise API Has Features You’ve Never Used — And They’re Exactly What You Need

Promise.any, Promise.allSettled, Promise.race with AbortController, unhandledRejection trapping, Promise combinators for rate-limited APIs, and the upcoming Promise.withResolvers() — the complete Promise toolkit that goes way beyond async/await. Most JavaScript developers use three things from the Promise API: new Promise(), async/await, and occasionally Promise.all(). The rest of… Read More »The JavaScript Promise API Has Features You’ve Never Used — And They’re Exactly What You Need