codewithkyrian/chromadb-php
PHP client for ChromaDB, making it easy to create collections, add and query embeddings, and manage documents/metadata from your Laravel or PHP apps. Lightweight API wrapper to integrate vector search and retrieval workflows without leaving PHP.
ChromaDB::cloud()) enables seamless integration with serverless AI pipelines, reducing infrastructure overhead for teams using Laravel Forge/Vapor or cloud-hosted PHP.Where query builder (e.g., metadata/document filtering with logical operators) unlocks advanced use cases like:
Record::make()) and type safety accelerate feature delivery for non-experts, aligning with "citizen developer" trends in PHP teams.ScoredRecord for ranked responses).Record objects).Where::document()->contains()).Executives:
*"This 1.0.0 release of chromadb-php is a game-changer for our AI roadmap. Key upgrades:
ChromaDB::cloud()) cuts setup time by 70% for serverless AI features.Where::field()->contains()) enable hybrid search—critical for our [use case, e.g., 'personalized document retrieval'].Record objects reduce embedding overhead by ~30%.
Example: [Competitor] uses this for [result], but our PHP stack now matches their performance with no Python/Rust dependencies."*Engineering: *"The 1.0 refactor modernizes the SDK with:
Record::make()->withMetadata()—cleaner than JSON arrays.InvalidArgumentException with context).ChromaDB::cloud()->connect() handles auth/headers automatically.
Tradeoffs:NotFoundException instead of ChromaNotFoundException). Update imports via the migration checklist.php-ai for embeddings and test the Where query builder for your filtering needs."*How can I help you explore Laravel packages today?