mattel-limbo/deepseek-laravel-wrapper 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mattel-limbo/deepseek-laravel-wrapper

最新稳定版本:v1.0.0

Composer 安装命令:

composer require mattel-limbo/deepseek-laravel-wrapper

包简介

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

README 文档

README

Laravel wrapper for Deepseek PHP client to seamless deepseek AI API integration with Laravel applications.

Installation

You can install the package via composer:

composer require mattel-limbo/deepseek-laravel-wrapper

Publishing Configuration File

php artisan vendor:publish --tag=deepseek

then add token to .env file

DEEPSEEK_API_KEY="your_api_key"

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

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);

Contributing

Please see CONTRIBUTING.md for details on contributing to Sketch.

Security

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

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-17