The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

Deepseek Laravel

Deepseek Laravel stats

Downloads
20
Stars
12
Open Issues
0
Forks
2

View on GitHub →

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

Deepseek Laravel

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

Table of Contents

Installation

You can install the package via composer:

composer require deepseek-php/deepseek-laravel

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")
->run();
 
print_r("deepseek API response : " . $response);

Testing

Tests will come soon

Contributors ✨

Thanks to these wonderful people for contributing to this project! πŸ’–

Omar AlAlwi
Omar AlAlwi

πŸ† Creator
Asim Al-Wasai
Assem Alwaseai

πŸ’» Contributor

Want to contribute? Check out the contributing guidelines and submit a pull request! πŸš€

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security

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

License

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

deepseek-php photo

Makes deepseek AI development in PHP more productive and enjoyable.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Deepseek Php Deepseek Laravel Related Articles

Laravel AI Chat Starter Kit image

Laravel AI Chat Starter Kit

Read article
A Laravel Package to Use the Deepseek API With V3 AI Models image

A Laravel Package to Use the Deepseek API With V3 AI Models

Read article
Blastup logo

Blastup

Blastup provides social media enhancement services including buying Instagram likes, followers, and views, with features like instant delivery and a variety of packages to suit different needs.

Blastup
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
Securing Laravel logo

Securing Laravel

The essential security resource for Laravel devs, covering everything you need to keep your apps secure. Sign up to receive weekly security tips and monthly in depth articles, diving deep into security concepts you need to know!

Securing Laravel
Tighten logo

Tighten

We help companies turn great ideas into amazing apps, products, and services.

Tighten
Statamic logo

Statamic

The drop-in ready Laravel CMS you’re been waiting for. Go full-stack or headless, flat file or database – it’s up to you.

Statamic
Honeybadger logo

Honeybadger

Simple developer-focused application monitoring for Laravel. Error tracking, log management, uptime monitoring, status pages, and more!

Honeybadger