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
0.1.0
2024-05-04 18:36 UTC
Requires
- php: >=8.1
- psr/log: ^3.0
- symfony/http-client: ^5.4 || ^6.0 || ^7.0
Requires (Dev)
- ergebnis/composer-normalize: ^2.41
- friendsofphp/php-cs-fixer: ^3.47
- nyholm/psr7: ^1.8
- php-http/guzzle7-adapter: ^1.0
- php-http/mock-client: ^1.6
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.5
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();