定制 jeremysalmon/laravel-llm-context 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

jeremysalmon/laravel-llm-context

最新稳定版本:1.0.6

Composer 安装命令:

composer require jeremysalmon/laravel-llm-context

包简介

Generate LLM context from Laravel applications

README 文档

README

Laravel LLM Context Generator

Generate comprehensive context about your Laravel application for LLM consumption.

Installation

composer require your-username/laravel-llm-context

Usage

  1. (Optional) Publish the configuration:

    php artisan vendor:publish --tag="llm-context-config"
  2. Generate the context:

    php artisan llm:generate-context

This will create two files in your storage/app/llm-context directory:

  • llm-context.json: Structured data about your application
  • llm-context.txt: Human-readable format suitable for LLM consumption

Configuration

You can customize the behavior by modifying config/llm-context.php:

return [
    'output_path' => storage_path('app/llm-context'),
    'include' => [
        'migrations' => true,
        'models' => true,
        'relationships' => true,
    ],
    'model_path' => app_path('Models'),
];

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-11