PHPackages                             webboy/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. [API Development](/categories/api)
4. /
5. webboy/deepseek

ActiveLibrary[API Development](/categories/api)

webboy/deepseek
===============

PHP client for Deepseek AI API

1.0.3(1y ago)7101MITPHPPHP ^8.1

Since Jan 26Pushed 1y ago1 watchersCompare

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

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

Deepseek PHP Client
===================

[](#deepseek-php-client)

[![Latest Stable Version](https://camo.githubusercontent.com/919acd5cde7e9a9eee0fd77ac5599428ab6a18f9e940bb058834c14e4a7bccc3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776562626f792f646565707365656b2e737667)](https://packagist.org/packages/webboy/deepseek)[![Total Downloads](https://camo.githubusercontent.com/7a30003c1a1fcdc568534af0913e1d6330ce236c2dd936af0744e0d3f3aebf53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776562626f792f646565707365656b2e737667)](https://packagist.org/packages/webboy/deepseek)[![PHP Version](https://camo.githubusercontent.com/45e71522915d4e107e7c59fa8c72522275c2462cb47866116ebe920555318319/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f776562626f792f646565707365656b2e737667)](https://packagist.org/packages/webboy/deepseek)[![License](https://camo.githubusercontent.com/a8e0162ed3f8d21e7cf6418d3ede369fe12c1af45130a52287e8711e2bb251f1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f776562626f792f646565707365656b2e737667)](https://packagist.org/packages/webboy/deepseek)[![Build Status](https://github.com/webboy/deepseek/actions/workflows/php.yml/badge.svg)](https://github.com/webboy/deepseek/actions)

A PHP client for interacting with the Deepseek AI API, providing easy-to-use methods to communicate with Deepseek's services.

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

[](#installation)

Install the package via Composer:

```
composer require webboy/deepseek
```

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

[](#requirements)

PHP ^8.1

ext-json extension

ext-curl extension

Features
--------

[](#features)

- Easy integration with Deepseek AI API
- Utilizes Guzzle for HTTP requests
- Simple and fluent API for request handling
- Laravel-friendly using illuminate/collections

Usage
-----

[](#usage)

### Initialize the client

[](#initialize-the-client)

```
use Webboy\Deepseek\Deepseek;

$deepseek = new Deepseek('your-api-key');
```

### Get all models

[](#get-all-models)

```
$response = $client
    ->listModels()
    ->call();
```

### Get user balance

[](#get-user-balance)

```
$response = $client
    ->getBalance()
    ->call();
```

### Start a chat session

[](#start-a-chat-session)

```
$response = $client
        ->createChatCompletion()
        ->setResponseFormat('text')
        ->setSystemMessage('You are a professional LinkedIn influencer.', 'Agent Smith')
        ->setUserMessage('Write down a short announcement for the initial version for the Deepseek API Client composer package.')
        ->call();
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 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 ~0 days

Total

4

Last Release

522d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1636797?v=4)[Nemanja Milenković](/maintainers/webboy)[@webboy](https://github.com/webboy)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)[aimeos/prisma

A powerful PHP package for integrating media related Large Language Models (LLMs) into your applications

1943.1k5](/packages/aimeos-prisma)

PHPackages © 2026

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