jdecool/ollama-client

This package is abandoned and no longer maintained. The author suggests using the symfony/ai-platform package instead.

Ollama PHP API client

Maintainers

Package info

github.com/jdecool/ollama-php-client

pkg:composer/jdecool/ollama-client

Statistics

Installs: 1 917

Dependents: 0

Suggesters: 0

Stars: 37

Open Issues: 1

0.1.0 2024-05-04 18:36 UTC

This package is auto-updated.

Last update: 2026-05-31 08:09:10 UTC


README

DEPRECATED

This package is deprecated. Please use symfony/ai-ollama-platform instead, which is part of the official Symfony AI Platform component.

Important

This library is no longer maintained. Use Symfony AI components as replacement.

See the Symfony AI Platform documentation for usage.

Ollama PHP Client

This is a PHP client for the Ollama API.

Getting Started

$ composer require jdecool/ollama-client

Usage

use JDecool\OllamaClient\ClientBuilder;

$builder = new ClientBuilder();
$client = $builder->create();