LaravelPackages.net
Acme Inc.
Toggle sidebar
upstash/vector-laravel

Upstash Vector SDK for Laravel

5.983
7
v1.1.0
About upstash/vector-laravel

upstash/vector-laravel is a Laravel package for upstash vector sdk for laravel. It currently has 7 GitHub stars and 5.983 downloads on Packagist (latest version v1.1.0). Install it with composer require upstash/vector-laravel. Discover more Laravel packages by upstash or browse all Laravel packages to compare alternatives.

Last updated

Upstash Vector SDK for Laravel

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Upstash Vector is an HTTP serverless Vector Database.

You can store, query, and retrieve vectors from your application, use it to power your search, and more.

You can read more about Upstash Vector here.

Installation

You can install the package via composer:

composer require upstash/vector-laravel

You can publish the config file with:

php artisan vendor:publish --tag="vector-config"

This is the contents of the published config file:

return [
    'default' => env('UPSTASH_VECTOR_CONNECTION', 'default'),

    'connections' => [
        'default' => [
            'url' => env('UPSTASH_VECTOR_REST_URL'),
            'token' => env('UPSTASH_VECTOR_REST_TOKEN'),
        ],
    ],
];

Usage

use Upstash\Vector\Laravel\Facades\Vector;

$info = Vector::getInfo();

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

The MIT License (MIT). Please see License File for more information.

Comments