Download the PHP package vectorifyai/vectorify-php without Composer
On this page you can find all versions of the php package vectorifyai/vectorify-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package vectorify-php
Vectorify package for PHP
Vectorify is the end-to-end AI connector for PHP, letting you query and explore your data in natural language in seconds.
To interact with your data, you have four primary methods to choose from:
- Use the Chats page within our platform (fastest)
- Embed the Chatbot into your PHP app (turn data querying into a product feature)
- Add the MCP server to ChatGPT, Claude, etc. (use your data anywhere you work)
- Call the REST API endpoints (build custom integrations and workflows)
Unlike text-to-SQL tools that expose your entire database and take 30+ seconds per query, Vectorify uses proven RAG technology to deliver accurate answers in <4 seconds while keeping your database secure. Head to our blog to learn more about Vectorify.
This package provides a simple and elegant way to interact with the Vectorify API. Ask AI about your data with ease.
Requirements
- PHP 8.2 or higher
Installation
Install the package via Composer:
Quick Start
Features
- Rate Limiting: Automatic rate limit handling with exponential backoff
- Retry Logic: Built-in retry mechanism for failed requests
- Type Safety: Fully typed objects for better development experience
- Error Handling: Comprehensive error handling and logging
- PSR-7 Compatible: Uses PSR-7 HTTP message interfaces
API Methods
Upsert
Create or update items in your Vectorify collection:
Query
Ask questions about your data:
Configuration
Timeout
You can configure the request timeout when initializing the client:
Debug Logging
Enable debug logging by defining a constant:
Error Handling
The SDK includes comprehensive error handling:
- Rate Limiting: Automatically handles 429 responses with appropriate delays
- Server Errors: Retries server errors (5xx) with exponential backoff
- Client Errors: Returns
null
orfalse
for client errors (4xx) - Network Errors: Retries network-related errors
Changelog
Please see Releases for more information on what has changed recently.
Contributing
Pull requests are more than welcome. You must follow the PSR coding standards.
Security
Please review our security policy on how to report security vulnerabilities.
License
The MIT License (MIT). Please see LICENSE for more information.
All versions of vectorify-php with dependencies
guzzlehttp/guzzle Version ^7.9
monolog/monolog Version ^3.9
vectorifyai/guzzle-rate-limiter Version ^1.0