Download the PHP package lemukarram/vector-search without Composer
On this page you can find all versions of the php package lemukarram/vector-search. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lemukarram/vector-search
More information about lemukarram/vector-search
Files in lemukarram/vector-search
Package vector-search
Short Description The Ultimate Laravel AI RAG Package. Seamlessly integrate Vector Search with GPT-5.5, Gemini 2.5, and Claude 4.6. Advanced semantic search for Eloquent models.
License MIT
Informations about the package vector-search
Laravel AI RAG ๐ง ๐
Laravel AI RAG is the ultimate developer toolkit for building production-ready Retrieval-Augmented Generation (RAG) applications. It seamlessly bridges your Eloquent models with cutting-edge Vector Databases and Frontier LLMs like GPT-5.5, Gemini 2.5, and Claude 4.6.
๐ ๏ธ Detailed Installation Guide
1. Requirements
- PHP 8.2 or higher
- Laravel 10.x, 11.x, or 12.x
- A vector store account (Upstash, Pinecone, or a local Chroma instance)
2. Install via Composer
3. Publish Configuration
Publish the vector-search.php config file to your application:
โ๏ธ Exhaustive Configuration Reference
Open config/vector-search.php to manage your environment.
๐ Vector Store Settings
| Driver | Env Variable | Description |
|---|---|---|
| Global | VECTOR_STORE |
Default store to use (upstash, pinecone, chroma) |
| Upstash | UPSTASH_VECTOR_URL |
Your Upstash Vector REST URL |
| Upstash | UPSTASH_VECTOR_TOKEN |
Your Upstash REST Token |
| Pinecone | PINECONE_API_KEY |
Your Pinecone API Key |
| Pinecone | PINECONE_HOST |
The index host (e.g., https://index-xyz.svc.pinecone.io) |
| Chroma | CHROMA_HOST |
Hostname (Default: 127.0.0.1) |
| Chroma | CHROMA_PORT |
Port (Default: 8000) |
| Chroma | CHROMA_COLLECTION |
Collection name (Default: laravel-rag) |
๐ง AI Model Settings
| Provider | Env Variable | Description |
|---|---|---|
| OpenAI | OPENAI_API_KEY |
Your OpenAI Secret Key |
| Gemini | GEMINI_API_KEY |
Your Google AI (Gemini) API Key |
| Anthropic | ANTHROPIC_API_KEY |
Your Anthropic API Key |
| DeepSeek | DEEPSEEK_API_KEY |
Your DeepSeek API Key |
โก RAG Logic & Chunking
Configure these in the rag array of your config file:
chunk_size: Maximum characters per vector (Default:1000)chunk_overlap: Character overlap between chunks (Default:200)system_prompt: The core instruction for the LLM. Supports{{context}}and{{query}}placeholders.
๐ Pro Use Cases & Examples
Use Case 1: Intelligent Documentation Search
Index your technical docs and allow users to ask questions.
Use Case 2: AI-Powered E-commerce Product Recommendations
Find products not just by name, but by "vibe" or semantic description.
Use Case 3: Legal/Medical Document Analysis
Use Claude 4.6 for high-precision reasoning over complex text.
Use Case 4: Global Support Bot (Multi-Query Expansion)
When users ask vague questions, use multiQuery to find better answers.
๐งช Testing
๐ Search Performance & SEO Tips
Keywords: Laravel AI, Vector Search Laravel, RAG Laravel, GPT-5 Laravel, Gemini AI Laravel, PHP AI Package, Semantic Search PHP, Pinecone Laravel, Upstash Vector Laravel, AI Embedding Laravel.
๐ค Support & License
If you find this package useful, please star the repository on GitHub! Licensed under the MIT License.
All versions of vector-search with dependencies
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^10.0|^11.0|^12.0