PHPackages                             deepseek-php/deepseek-laravel - 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. deepseek-php/deepseek-laravel

ActiveLibrary[API Development](/categories/api)

deepseek-php/deepseek-laravel
=============================

A seamless Laravel integration for the Deepseek PHP client, enabling effortless interaction with the Deepseek API in your Laravel applications.

2.0.2(10mo ago)40341.2k↓77.4%71[9 issues](https://github.com/deepseek-php/deepseek-laravel/issues)[7 PRs](https://github.com/deepseek-php/deepseek-laravel/pulls)1MITPHPPHP ^8.1.0

Since Jan 3Pushed 1mo ago12 watchersCompare

[ Source](https://github.com/deepseek-php/deepseek-laravel)[ Packagist](https://packagist.org/packages/deepseek-php/deepseek-laravel)[ Docs](https://github.com/deepseek-php/deepseek-laravel)[ RSS](/packages/deepseek-php-deepseek-laravel/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (6)Versions (9)Used By (1)

Deepseek Laravel
================

[](#deepseek-laravel)

Laravel wrapper for **[Deepseek PHP client](https://github.com/deepseek-php/deepseek-php-client)** to seamless [deepseek AI](https://www.deepseek.com) API integration with Laravel applications.

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
    - [Publishing Configuration File](#publishing-configuration-file)
- [Usage](#usage)
    - [Basic Usage](#basic-usage)
    - [Advanced Usage](#advanced-usage)
- [Testing](#testing)
- [Contributors](#contributors-)
- [Changelog](#changelog)
- [Security](#security)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require deepseek-php/deepseek-laravel
```

### Publishing Configuration File

[](#publishing-configuration-file)

```
php artisan vendor:publish --tag=deepseek
```

then add token to `.env` file

```
DEEPSEEK_API_KEY="your_api_key"
```

Usage
-----

[](#usage)

### Basic Usage

[](#basic-usage)

```
use DeepSeekClient;

$deepseek = app(DeepSeekClient::class);
$response = $deepseek->query('Hello deepseek, I am Laravel Framework , how are you Today ^_^ ?')->run();
print_r("deepseek API response : " . $response);
```

**Note**: In easy mode, it will take defaults for all configs [Check Default Values](https://github.com/deepseek-php/deepseek-php-client/blob/master/src/Enums/Configs/DefaultConfigs.php)

### Advanced Usage

[](#advanced-usage)

```
use DeepSeekClient;

$deepseek = app(DeepSeekClient::class);

// Another way, with customization
$response = $deepseek
    ->query('Hello deepseek, how are you ?', 'system')
    ->query('Hello deepseek, my name is PHP ', 'user')
    ->withModel("deepseek-chat")
    ->setTemperature(1.5)
    ->run();

print_r("deepseek API response : " . $response);
```

Testing
-------

[](#testing)

Tests will come soon

Contributors ✨
--------------

[](#contributors-)

Thanks to these wonderful people for contributing to this project! 💖

   [ ![Omar AlAlwi](https://avatars.githubusercontent.com/u/25439498?v=4)
 **Omar AlAlwi** ](https://github.com/omaralalwi)
 🏆 Creator   [ ![Asim Al-Wasai](https://avatars.githubusercontent.com/u/119125167?v=4)
  **Assem Alwaseai**  ](https://github.com/A909M)
 💻 Contributor   [ ![Faisal](https://avatars.githubusercontent.com/u/38166228?v=4)
  **Faisal**  ](https://github.com/200-0K)
 💻 Contributor  Want to contribute? Check out the [contributing guidelines](./CONTRIBUTING.md) and submit a pull request! 🚀

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

---

🐘✨ **DeepSeek PHP Community** ✨🐘
================================

[](#-deepseek-php-community-)

Click the button bellow or [join here](https://t.me/deepseek_php_community) to be part of our growing community!

[![Join Telegram](https://camo.githubusercontent.com/8ee56c562bc6b3d5388bf271630b4e222e6d23d3fce48f4dfb22b19f9ce12229/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4a6f696e2d54656c656772616d2d626c75653f7374796c653d666f722d7468652d6261646765266c6f676f3d74656c656772616d)](https://t.me/deepseek_php_community)

### **Channel Structure** 🏗️

[](#channel-structure-️)

- 🗨️ **General** - Daily chatter
- 💡 **Ideas &amp; Suggestions** - Shape the community's future
- 📢 **Announcements &amp; News** - Official updates &amp; news
- 🚀 **Releases &amp; Updates** - Version tracking &amp; migration support
- 🐞 **Issues &amp; Bug Reports** - Collective problem-solving
- 🤝 **Pull Requests** - Code collaboration &amp; reviews

---

### Security

[](#security)

If you discover any security-related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

54

—

FairBetter than 96% of packages

Maintenance74

Regular maintenance activity

Popularity51

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.4% 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 ~44 days

Recently: every ~52 days

Total

6

Last Release

324d ago

Major Versions

1.0.2 → 2.0.02025-01-31

### Community

Maintainers

![](https://www.gravatar.com/avatar/46733da79a34ff686b036a09af1dcc6d21054aee25a5e029500dc87d3c69ba89?d=identicon)[WatheqAlshowaiter](/maintainers/WatheqAlshowaiter)

![](https://www.gravatar.com/avatar/92882431481b621f6509ff259dd600e327c27fc77adcba4fcc7177659059c9a8?d=identicon)[omaralalwi](/maintainers/omaralalwi)

![](https://www.gravatar.com/avatar/c1f16d496594fbcc1f1bb95c457f00b7790fb333a2f618662f3731d11649cd5a?d=identicon)[deepseek-php](/maintainers/deepseek-php)

---

Top Contributors

[![omaralalwi](https://avatars.githubusercontent.com/u/25439498?v=4)](https://github.com/omaralalwi "omaralalwi (28 commits)")[![z4nder](https://avatars.githubusercontent.com/u/39275291?v=4)](https://github.com/z4nder "z4nder (3 commits)")[![A909M](https://avatars.githubusercontent.com/u/119125167?v=4)](https://github.com/A909M "A909M (2 commits)")[![200-0K](https://avatars.githubusercontent.com/u/38166228?v=4)](https://github.com/200-0K "200-0K (1 commits)")

---

Tags

chatgptdeepseek-chatdeepseek-coderdeepseek-integrationdeepseek-laraveldeepseek-mathdeepseek-phpdeepseek-php-clientdeepseek-php-librarydeepseek-r1deepseek-r1-zerolaravel-aiopenaiopenai-integrationopenaideepseek-apilaravel-aideepseek-php-clientphp-deepseekdeepseek-integrationdeepseek-phpdeepseek-laraveldeepseek-coderdeepseek-chatdeepseek-mathlaravel-deepseekdeepseek-packageDeepSeek-R1DeepSeek-R1-Zero

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

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

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

46688.8k5](/packages/deepseek-php-deepseek-php-client)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[sproutcms/cms

Enterprise content management and framework

242.5k4](/packages/sproutcms-cms)[qwen-php/qwen-laravel

A seamless Laravel integration for the qwen PHP client, enabling effortless interaction with the qwen API in your Laravel applications.

152.9k](/packages/qwen-php-qwen-laravel)

PHPackages © 2026

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