PHPackages                             zakriat/laravel-deepseek-r1 - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. zakriat/laravel-deepseek-r1

ActiveLibrary[HTTP &amp; Networking](/categories/http)

zakriat/laravel-deepseek-r1
===========================

Laravel-first Deepseek R1 AI integration with Guzzle

v1.0.0(1y ago)311MITPHPPHP ^8.2CI passing

Since Jan 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/zakriat/laravel-deepseek-r1)[ Packagist](https://packagist.org/packages/zakriat/laravel-deepseek-r1)[ Docs](https://github.com/zakriat/laravel-deepseek-r1)[ RSS](/packages/zakriat-laravel-deepseek-r1/feed)WikiDiscussions main Synced 1mo ago

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

Laravel Deepseek R1 Integration
===============================

[](#laravel-deepseek-r1-integration)

[![Latest Version](https://camo.githubusercontent.com/d66a55164c990967e6d849c73cbc83dd341d1d899a799a2aa3e98b536c4d3819/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a616b726961742f6c61726176656c2d646565707365656b2d72312e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/zakriat/laravel-deepseek-r1)

Professional Laravel integration for Deepseek R1 API with Guzzle HTTP client.

Features
--------

[](#features)

- Laravel Service Provider &amp; Facade
- Configurable timeouts and retries
- Full exception handling
- Ready for horizontal scaling
- PSR-4 compliant structure
- Comprehensive test suite

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

[](#installation)

```
composer require zakriat/laravel-deepseek-r1

# Publish config file
php artisan vendor:publish --provider="Zakriat\DeepseekR1\DeepseekServiceProvider"
```

Usage
-----

[](#usage)

```
use Zakriat\DeepseekR1\Facades\DeepseekR1;

// In your controller or service
$response = DeepseekR1::chatCompletion([
    'model' => 'deepseek-r1',
    'messages' => [
        ['role' => 'user', 'content' => 'Explain quantum computing in simple terms']
    ]
]);

// Access response content
echo $response['choices'][0]['message']['content'];
```

Configuration
-------------

[](#configuration)

Add to your `.env`:

```
DEEPSEEK_API_KEY=your_api_key_here
DEEPSEEK_BASE_URI=https://api.deepseek.com/v1/
DEEPSEEK_TIMEOUT=30  # seconds
DEEPSEEK_RETRIES=3   # retry attempts

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance42

Moderate activity, may be stable

Popularity8

Limited adoption so far

Community7

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

Unknown

Total

1

Last Release

471d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/296325875dc9a18eae25a9eed972917fd44c0af1c17ab58564dd31b8b5046da2?d=identicon)[zakriat](/maintainers/zakriat)

---

Top Contributors

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

---

Tags

apilaravelGuzzleaiintegrationdeepseeklaravel-aiDeepSeek-R1llm-integration

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zakriat-laravel-deepseek-r1/health.svg)

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

###  Alternatives

[hamburgscleanest/guzzle-advanced-throttle

A Guzzle middleware that can throttle requests according to (multiple) defined rules. It is also possible to define a caching strategy, e.g. get response from cache when rate limit is exceeded or always get cached value to spare your rate limits.

13033.4k1](/packages/hamburgscleanest-guzzle-advanced-throttle)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[behamin/service-proxy

for proxy or sending requests to other services with useful utilities

102.2k](/packages/behamin-service-proxy)

PHPackages © 2026

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