PHP Classes

File: docs_site/docs/guide/installation.md

Recommend this page to a friend!
  Packages of Muhammad Umer Farooq   HyperFlow PHP   docs_site/docs/guide/installation.md   Download  
File: docs_site/docs/guide/installation.md
Role: Auxiliary data
Content type: text/markdown
Description: Auxiliary data
Class: HyperFlow PHP
Framework to develop AI agents
Author: By
Last change:
Date: 6 days ago
Size: 989 bytes
 

Contents

Class file image Download

Installation

Requirements

  • PHP 8.1+
  • Composer
  • At least one LLM provider API key (e.g., `OPENAI_API_KEY`).
  • Docker (optional, but recommended if using `DockerExecutor` for 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) |