PHPackages                             pandarose/ollama-stream - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. pandarose/ollama-stream

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

pandarose/ollama-stream
=======================

Stream a real-time response from a local Ollama model

05PHP

Since May 28Pushed 1y agoCompare

[ Source](https://github.com/stefen/ollama-stream)[ Packagist](https://packagist.org/packages/pandarose/ollama-stream)[ RSS](/packages/pandarose-ollama-stream/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Ollama API Client
=================

[](#ollama-api-client)

A PHP client for the Ollama API, allowing for streaming responses from the API.

Features
--------

[](#features)

- Supports streaming and non-streaming responses
- Calls a callback function for each word received from the API

Example Usage
-------------

[](#example-usage)

See the `example.php` file for a basic usage example.

Requirements
------------

[](#requirements)

- PHP 8.1+
- Amp HTTP Client library (`amp/http-client`)

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/838584?v=4)[Panda Rose Consulting Studios, Inc.](/maintainers/pandarose)[@PandaRose](https://github.com/PandaRose)

---

Top Contributors

[![stefen](https://avatars.githubusercontent.com/u/505675?v=4)](https://github.com/stefen "stefen (4 commits)")

### Embed Badge

![Health badge](/badges/pandarose-ollama-stream/health.svg)

```
[![Health](https://phpackages.com/badges/pandarose-ollama-stream/health.svg)](https://phpackages.com/packages/pandarose-ollama-stream)
```

###  Alternatives

[thisisbd/silverstripe-fontawesome-iconpickerfield

Font Awesome Icon Picker for SilverStripe 3.1.x based on http://mjolnic.com/fontawesome-iconpicker

133.3k1](/packages/thisisbd-silverstripe-fontawesome-iconpickerfield)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
