承接 vortechstudio/laravel-github-issues 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

vortechstudio/laravel-github-issues

最新稳定版本:v1.0.0

Composer 安装命令:

composer require vortechstudio/laravel-github-issues

包简介

Ce package dédié à laravel permet d'ouvrir un ticket sur github quand une Exception de type Erreur, Critique ou Urgence apparait dans le code, il peut être aider d'openAI pour créer le ticket.

README 文档

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Installation

You can install the package via composer:

composer require vortechstudio/laravel-github-issues

You can publish and run the migrations with:

php artisan vendor:publish --tag="laravel-github-issues-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="laravel-github-issues-config"

Ajouter les variables d'environnement suivantes dans le fichier .env

GITHUB_TOKEN=
GITHUB_OWNER=
GITHUB_REPOSITORY=
OPENAI_STATE=true
OPENAI_API_KEY=sk-...
OPENAI_ORGANIZATION=org-...

OPENAI_STATE permet d'activer ou non l'api openAI pour la création du ticket

Si vous n'avez pas de compte openAI, vous pouvez en créer un gratuitement sur https://openai.com/

Créer votre compte et ajouter votre clé API dans la variable OPENAI_API_KEY

Ajouter le service Github dans le fichier config/services.php

    'github' => [
        "token" => env('GH_TOKEN', null),
    ],

Ajouter le système log dans le fichier config/logging.php

    'github_issues' => [
            "driver" => "monolog",
            'level' => "error",
            "handler" => \Vortechstudio\LaravelGithubIssues\GithubIssuesHandler::class,
            "channels" => ["daily"]
        ]

Définir le LOG_CHANNEL du fichier .env sur github_issues

Usage

Le système détectera automatiquement une Erreur de type error ou supérieur et créera un ticket sur github.

Testing

composer test

Changelog

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

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

统计信息

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

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固