PHPackages                             papi-ai/deepseek - 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. papi-ai/deepseek

ActiveLibrary

papi-ai/deepseek
================

DeepSeek provider for PapiAI

v0.9.1(1w ago)00MITPHPPHP ^8.2CI passing

Since Mar 7Pushed 1w agoCompare

[ Source](https://github.com/papi-ai/deepseek)[ Packagist](https://packagist.org/packages/papi-ai/deepseek)[ RSS](/packages/papi-ai-deepseek/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

PapiAI DeepSeek Provider
========================

[](#papiai-deepseek-provider)

[![CI](https://github.com/papi-ai/deepseek/workflows/CI/badge.svg)](https://github.com/papi-ai/deepseek/actions?query=workflow%3ACI) [![Latest Version](https://camo.githubusercontent.com/1749cdcf9edbc9b74cb1363cc8cb80f2f7431294ec70d84c993f57271d095501/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706170692d61692f646565707365656b2e737667)](https://packagist.org/packages/papi-ai/deepseek) [![Total Downloads](https://camo.githubusercontent.com/e9a5a62b2f65fd1dc1b7d6669c65e52b1c11d8d3777e82f5c5777495568fc3e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706170692d61692f646565707365656b2e737667)](https://packagist.org/packages/papi-ai/deepseek) [![PHP Version](https://camo.githubusercontent.com/6227f50f9a55a225503a8e76b5aafa303ee47faa01c78f98d9c6da083914fae6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f706170692d61692f646565707365656b2e737667)](https://packagist.org/packages/papi-ai/deepseek) [![License](https://camo.githubusercontent.com/5e80068d3fc17f19a2d851b04197fe5a6982b9aab5459097ff8bb0c3a56bf91f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f706170692d61692f646565707365656b2e737667)](https://packagist.org/packages/papi-ai/deepseek)

DeepSeek provider for [PapiAI](https://github.com/papi-ai/papi-core) - A simple but powerful PHP library for building AI agents.

Installation
------------

[](#installation)

```
composer require papi-ai/deepseek
```

Usage
-----

[](#usage)

```
use PapiAI\Core\Agent;
use PapiAI\DeepSeek\DeepSeekProvider;

$provider = new DeepSeekProvider(
    apiKey: $_ENV['DEEPSEEK_API_KEY'],
);

$agent = new Agent(
    provider: $provider,
    instructions: 'You are a helpful assistant.',
);

$response = $agent->run('Hello!');
echo $response->text;
```

Available Models
----------------

[](#available-models)

```
DeepSeekProvider::MODEL_DEEPSEEK_CHAT      // 'deepseek-chat' (default)
DeepSeekProvider::MODEL_DEEPSEEK_REASONER  // 'deepseek-reasoner' (reasoning)
```

Features
--------

[](#features)

- Tool/function calling
- Structured output (JSON mode)
- Streaming support

License
-------

[](#license)

MIT

###  Health Score

37

—

LowBetter than 84% of packages

Maintenance98

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

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.

###  Release Activity

Cadence

Every ~1 days

Total

4

Last Release

11d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/126c34b4dff8d42336ea07ac5297bcc3ec0a0e306fd964a7497f02240da4b142?d=identicon)[md](/maintainers/md)

---

Top Contributors

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

###  Code Quality

TestsPest

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/papi-ai-deepseek/health.svg)

```
[![Health](https://phpackages.com/badges/papi-ai-deepseek/health.svg)](https://phpackages.com/packages/papi-ai-deepseek)
```

PHPackages © 2026

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