Download the PHP package deepseek-php/deepseek-php-client without Composer
On this page you can find all versions of the php package deepseek-php/deepseek-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download deepseek-php/deepseek-php-client
More information about deepseek-php/deepseek-php-client
Files in deepseek-php/deepseek-php-client
Download deepseek-php/deepseek-php-client
More information about deepseek-php/deepseek-php-client
Files in deepseek-php/deepseek-php-client
Vendor deepseek-php
Package deepseek-php-client
Short Description 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.
License MIT
Homepage https://github.com/deepseek-php/deepseek-php-client
Package deepseek-php-client
Short Description 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.
License MIT
Homepage https://github.com/deepseek-php/deepseek-php-client
Keywords symfonyphpapiclientsdknlpaiphp-sdkrest-clientapi-wrappermachine-learningnatural-language-processingdeveloper-toolsphp-api-clientai-sdkapi-integrationopenaitext-generationllmgenerative-aideepseekdeepseek-apiai-apideepseek-aiai-client-libraryphp-ai-integrationopenai-alternativesymfony-deepseekdeepseek-symfonysymfony-http-clientsymfony-client
Please rate this library. Is it a good library?
Informations about the package deepseek-php-client
DeepSeek PHP Client
๐ Community-Driven PHP Client for DeepSeek AI API Integration
[AR](README-AR.md) | [CN](README-CN.md) ## Table of Contents - [โจ Features](#-features) - [๐ฆ Installation](#-installation) - [๐ Quick Start](#-quick-start) - [Basic Usage](#basic-usage) - [Advanced Configuration](#advanced-configuration) - [important warning with json mode](#-deepseek-json-mode-requirement) - [Use with Symfony HttpClient](#use-with-symfony-httpclient) - [Get Models List](#get-models-list) - [Function Calling](#function-calling) - [Framework Integration](#-framework-integration) - [๐ Migration Guide](#-migration-guide) - [๐ Changelog](#-changelog) - [๐งช Testing](#-testing) - [๐ Security](#-security) - [๐ค Contributors](#-contributors) - [๐ License](#-license) --- ## โจ Features - **Seamless API Integration**: PHP-first interface for DeepSeek's AI capabilities. - **Fluent Builder Pattern**: Chainable methods for intuitive request building. - **Enterprise Ready**: PSR-18 compliant HTTP client integration. - **Model Flexibility**: Support for multiple DeepSeek models (Coder, Chat, etc.). - **Streaming Ready**: Built-in support for real-time response handling. - **Many Http Clients**: easy to use `Guzzle http client` (default) , or `symfony http client`. - **Framework Friendly**: Laravel & Symfony packages available. --- ## ๐ฆ Installation Require the package via Composer: **Requirements**: - PHP 8.1+ --- ## ๐ Quick Start ### Basic Usage Get started with just two lines of code: ๐ Defaults used: - Model: `deepseek-chat` - Temperature: 0.8 ### Advanced Configuration ## โ ๏ธ DeepSeek JSON Mode Requirement When using: Your prompt **must contain the word `"json"`** in some form. Otherwise, the API will reject the request with the following error: > `"Prompt must contain the word 'json' in some form to use 'response_format' of type 'json_object'"` --- ### ๐ซ Incorrect Usage ### โ Correct Usage > โ **Tip**: For best results, also provide a JSON example or explicitly say: > *"Respond only in valid JSON."* --- ### Use with Symfony HttpClient the package already built with `symfony Http client`, if you need to use package with `symfony` Http Client , it is easy to achieve that, just pass `clientType:'symfony'` with `build` function. ex with symfony: ### Get Models List ### Function Calling Function Calling allows the model to call external tools to enhance its capabilities.[[1]](https://api-docs.deepseek.com/guides/function_calling) You Can check the documentation for function calling in [FUNCTION-CALLING.md](docs/FUNCTION-CALLING.md) ### ๐ Framework Integration ### [Laravel Deepseek Package](https://github.com/deepseek-php/deepseek-laravel) --- ## ๐ง Migration Guide Upgrading from v1.x? Check our comprehensive [Migration Guide](MIGRATION.md) for breaking changes and upgrade instructions. --- ## ๐ Changelog Detailed release notes available in [CHANGELOG.md](CHANGELOG.md) --- ## ๐งช Testing Test coverage coming in v2.1. ---
# ๐โจ **DeepSeek PHP Community** โจ๐
Click the button bellow or [join here](https://t.me/deepseek_php_community) to be part of our growing community!
[](https://t.me/deepseek_php_community)
### **Channel Structure** ๐๏ธ
- ๐จ๏ธ **General** - Daily chatter
- ๐ก **Ideas & Suggestions** - Shape the community's future
- ๐ข **Announcements & News** - Official updates & news
- ๐ **Releases & Updates** - Version tracking & migration support
- ๐ **Issues & Bug Reports** - Collective problem-solving
- ๐ค **Pull Requests** - Code collaboration & reviews
---
## ๐ Security
**Report Vulnerabilities**: to [[email protected]](mailto:[email protected])
---
## ๐ค Contributors
A huge thank you to these amazing people who have contributed to this project! ๐๐
Omar AlAlwi ๐ Creator |
Ayman Alhattami โญ Contributor |
Mohammad Asaad โญ Contributor |
Opada Alzaiede โญ Contributor |
Hisham Bin Ateya โญ Contributor |
Vinchan โญ Contributor |
All versions of deepseek-php-client with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.1.0
nyholm/psr7 Version ^1.8
php-http/discovery Version ^1.20.0
php-http/multipart-stream-builder Version ^1.4.2
psr/http-client Version ^1.0.3
psr/http-client-implementation Version 1.0
psr/http-factory-implementation Version *
psr/http-message Version ^1.1.0|^2.0.0
symfony/http-client Version ^6.4
nyholm/psr7 Version ^1.8
php-http/discovery Version ^1.20.0
php-http/multipart-stream-builder Version ^1.4.2
psr/http-client Version ^1.0.3
psr/http-client-implementation Version 1.0
psr/http-factory-implementation Version *
psr/http-message Version ^1.1.0|^2.0.0
symfony/http-client Version ^6.4
The package deepseek-php/deepseek-php-client contains the following files
Loading the files please wait ....