https://github.com/upstash/vector-laravel
Upstash Vector SDK for Laravel
https://github.com/upstash/vector-laravel
embeddings laravel upstash vector
Last synced: 3 months ago
JSON representation
Upstash Vector SDK for Laravel
- Host: GitHub
- URL: https://github.com/upstash/vector-laravel
- Owner: upstash
- License: mit
- Created: 2025-01-29T08:28:01.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-06-16T12:46:10.000Z (4 months ago)
- Last Synced: 2025-06-22T02:50:04.112Z (4 months ago)
- Topics: embeddings, laravel, upstash, vector
- Language: PHP
- Homepage:
- Size: 35.2 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# Upstash Vector SDK for Laravel
[](https://packagist.org/packages/upstash/vector-laravel)
[](https://github.com/upstash/vector-laravel/actions?query=workflow%3Arun-tests+branch%3Amaster)
[](https://github.com/upstash/vector-laravel/actions?query=workflow%3A"Fix+PHP+code+style+issues"+branch%3Amaster)
[](https://packagist.org/packages/upstash/vector-laravel)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](https://docs.upstash.com/vector).
## Installation
You can install the package via composer:
```bash
composer require upstash/vector-laravel
```You can publish the config file with:
```bash
php artisan vendor:publish --tag="vector-config"
```This is the contents of the published config file:
```php
return [
'default' => env('UPSTASH_VECTOR_CONNECTION', 'default'),'connections' => [
'default' => [
'url' => env('UPSTASH_VECTOR_REST_URL'),
'token' => env('UPSTASH_VECTOR_REST_TOKEN'),
],
],
];
```## Usage
```php
use Upstash\Vector\Laravel\Facades\Vector;$info = Vector::getInfo();
```## Testing
```bash
composer test
```## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.