lara-care/cv-agent 问题修复 & 功能扩展

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

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

lara-care/cv-agent

最新稳定版本:v1.1.0

Composer 安装命令:

composer require lara-care/cv-agent

包简介

Laravel package to generate CV sections with AI

README 文档

README

🚀 CvAgent is a Laravel package that automatically generates tailored CV (resume) section content using Artificial Intelligence (AI). It helps you quickly build professional resumes by generating coherent and personalized examples based on a user’s profile.

📦 Installation

Install the package via Composer:

composer require laracare/cv-agent

⚙️ Configuration

Publish the configuration file:

php artisan vendor:publish --provider="LaraCare\CvAgent\Providers\CvAgentProvider" --tag=config

This will create:

config/cv-agent.php

Inside, you can configure:

  • your AI provider’s API keys,

  • default parameters (language, model, etc.).

🚀 Usage

Using the Facade

use LaraCare\CvAgent\Facades\CvSections;

$profile = "IoT Engineer with 2 years of experience, seeking a position in AI";

$content = CvSections::generate('hobbies', $profile, 'en');

dd($content);

Expected Output

{
  "section": "hobbies",
  "content": "Passionate about developing open-source IoT projects, photography, and long-distance cycling."
}

📂 Package Structure

cv-agent/
├── config/
│   └── cv-agent.php          # Package configuration
├── src/
│   ├── Facades/
│   │   └── CvSections.php    # Facade for quick access
│   ├── Providers/
│   │   └── CvAgentProvider.php # Service Provider
│   └── CvAgent.php           # Main class
├── composer.json
└── README.md

🧩 Example Integration in a Controller

use LaraCare\CvAgent\Facades\CvSections;

class ResumeController extends Controller
{
    public function generate()
    {
        $profile = "IoT Engineer with 2 years of experience, seeking AI position";
        return response()->json(
            CvSections::generate("skills", $profile, "en")
        );
    }
}

🔑 Extensibility

  • Add your own CV sections

  • Switch AI models in config/cv-agent.php

  • Support multiple languages (en, fr, etc.)

🤝 Contributing

Pull Requests are welcome! Fork the project, create your feature branch, then:

git checkout -b feature/amazing-feature
git commit -m 'Add amazing feature'
git push origin feature/amazing-feature

🧾 License

This package is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-08-24