dragonofmercy/custom-ai-solution
Composer 安装命令:
composer require dragonofmercy/custom-ai-solution
包简介
AI Solution provider using custom service for Spatie Ignition Error Solution
README 文档
README
With this package you can use your custom AI service for Spatie Ignition Error Solution
Installation
composer require dragonofmercy/custom-ai-solution --dev
Register solution provider in Ignition
Open ignition.php in your Config directory.
Just add \Dragon\CustomAi\CustomAiSolutionProvider::class in the solution_providers array.
'solution_providers' => [ ... UnknownMysql8CollationSolutionProvider::class, UnknownMariadbCollationSolutionProvider::class, \Dragon\CustomAi\CustomAiSolutionProvider::class ],
Configure your service
Just update your .env
ES_CUSTOMAI_ENDPOINT=https://api.groq.com/openai/v1 ES_CUSTOMAI_API_KEY={your-api-key} ES_CUSTOMAI_MODEL=qwen-qwq-32b
My personal recommandation:
Use https://groq.com/ service, you will have a lot of free tokens by daily and a lot of available models.
If this project help to increase your productivity, you can give me a cup of coffee :)
dragonofmercy/custom-ai-solution 适用场景与选型建议
dragonofmercy/custom-ai-solution 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 8 次下载、GitHub Stars 达 1, 最近一次更新时间为 2025 年 02 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「page」 「error」 「laravel」 「openai」 「OpenRouter」 「groq」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 dragonofmercy/custom-ai-solution 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dragonofmercy/custom-ai-solution 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 dragonofmercy/custom-ai-solution 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table.
Plug-ins for DataTables
This package helps you use bitwise enums in PHP and Laravel.
PHP Error Handler module that captures and displays all throwable errors in a given format, making debugging easier and more efficient
Error and Exception override and observers.
Error handler based on Booboo with HTML and JSON support
统计信息
- 总下载量: 8
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 24
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-02-20