Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Pgvector Scout Laravel Package

benbjurstrom/pgvector-scout

Laravel Scout driver for PostgreSQL pgvector. Store embeddings on your models and run fast vector similarity search directly in Postgres. Supports multiple embedding indexes (OpenAI, Gemini, testing) with publishable config and easy setup.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables "buy vs build" for semantic search capabilities, eliminating 3-6 months of custom integration work between Laravel Scout and PostgreSQL pgvector
  • Accelerates roadmap delivery for AI-driven features like contextual knowledge base search, product recommendations, and RAG workflows using existing PostgreSQL infrastructure
  • Supports cost optimization by avoiding dedicated vector database migrations while maintaining flexibility to switch embedding providers (OpenAI, Gemini, Ollama) via configuration
  • Reduces technical debt through standardized Scout pattern adoption with built-in event handling and migration management

When to Consider This Package

  • ✅ Using Laravel Scout with PostgreSQL (pgvector extension installed)
  • ✅ Needing semantic search for user-facing features where meaning matters more than keywords
  • ✅ Wanting to leverage multiple embedding providers in a single application via config-driven indexes
  • ✅ Seeking to avoid dedicated vector DB costs while keeping data in existing PostgreSQL
  • ❌ Using non-PostgreSQL databases (MySQL, SQLite, etc.)
  • ❌ Already using cloud vector DB services (Pinecone, Weaviate) as primary infrastructure
  • ❌ Simple keyword-based search requirements where PostgreSQL full-text search suffices
  • ❌ Projects without PostgreSQL maintenance expertise or pgvector compatibility

How to Pitch It (Stakeholders)

Executives: "This package delivers enterprise-grade semantic search capabilities in weeks—not months—by extending our existing Laravel and PostgreSQL investments. It enables AI-powered features like intelligent document discovery and personalized recommendations without new database costs or specialized teams, directly accelerating our product roadmap for competitive differentiation in user experience."

Engineering: "It’s a battle-tested Scout driver that eliminates boilerplate for vector operations—just configure your embedding providers, run a migration, and use Scout’s familiar syntax. Supports multiple models (OpenAI, Gemini, Ollama) in one app, includes event hooks for monitoring, and integrates seamlessly with our current Laravel architecture. Zero vendor lock-in with MIT license and full test coverage."

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport