Installation
Requirements
- PHP 8.1+
- Composer
- At least one LLM provider API key (e.g.,
OPENAI_API_KEY). - Docker (optional, but recommended if using
DockerExecutorfor safe agent modifications).
Standard Installation
Install the package via Composer:
composer require lablnet/hyperflow-php
Install from Source
For development and contributing, install from the source repository:
git clone https://github.com/lablnet/hyperflow-php.git
cd hyperflow-php
composer install
Environment Variables
HyperFlow relies on .env files to configure your workspace. Create an .env file in your root path:
| Variable | Description |
|---|---|
OPENAI_API_KEY | OpenAI API key |
ANTHROPIC_API_KEY | Anthropic API key |
GOOGLE_API_KEY | Google Gemini API key |
OLLAMA_BASE_URL | Ollama server URL (default: http://localhost:11434) |
HYPERFLOW_MODEL | Default model for examples (e.g. openai/gpt-4o) |
