centamiv/vektor
Laravel package for integrating Vektor telephony/CRM features: manage calls, events, and related data via a clean PHP API. Provides simple configuration, service classes, and helpers to streamline connecting your app to Vektor workflows.
json_encode/json_decode for metadata) if mixing with Laravel’s ORM.touch() or increment()).WHERE distance < 0.5). Custom query logic must be implemented in PHP.$this->app->singleton(VectorDB::class, function () {
return new \Centamiv\Vektor\Database('/path/to/storage');
});
user_embeddings).
// Example: Syncing a model with Vektor
public function save()
{
parent::save();
$vector = $this->generateEmbedding(); // Custom method
app(VectorDB::class)->upsert($this->id, $vector);
}
vector_store) with a foreign key to Eloquent models.$results = app(VectorDB::class)
->search($queryVector, 10) // Top 10 nearest neighbors
->getIds(); // Convert to model IDs
WHERE category = 'tech' then pass to Vektor).php-serializer for custom data formats.symfony/filesystem for storage management.Cache::remember?).Post).Vector::search($query, $limit)).du -sh).user_123_vectors, user_456_vectors).How can I help you explore Laravel packages today?