定制 thehocinesaad/laravel-error-ai 二次开发

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

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

thehocinesaad/laravel-error-ai

最新稳定版本:2.0.1

Composer 安装命令:

composer require thehocinesaad/laravel-error-ai

包简介

This package adds Ask AI button to the error page.

README 文档

README

483751021-05b78dc2-de69-476e-b177-acb919404d72 (1)

Laravel Error AI

Add “Ask AI” buttons to Laravel’s error page to quickly get help from ChatGPT or Claude. No API keys. No backend calls. Just smart links and beautiful UI.

Requirements

  • Laravel v12.25.0 or higher.
  • If your project was originally created on Laravel versions earlier than 11.9, make sure to remove spatie/laravel-ignition otherwise it will override Laravel’s built-in error page and the “Copy as Markdown” and “Ask AI” buttons won’t appear.

Installation

  1. Install the package (typically as a dev dependency):

    • If your project's Laravel version is between 12.25.0 and 12.28.1, install version ^1.0:

      composer require --dev thehocinesaad/laravel-error-ai:^1.0
    • If your project's Laravel version is 12.29.0 or higher, install the latest version:

      composer require --dev thehocinesaad/laravel-error-ai
  2. If spatie/laravel-ignition is installed on your project, uninstall it (otherwise it will override Laravel's built-in error page):

    composer remove spatie/laravel-ignition

Usage

Trigger an exception locally and open the error page. You’ll see:

  • A “Copy as Markdown” button
  • An “Ask AI” dropdown with quick links to ChatGPT and Claude, prefilled with your exception’s context

Click a provider to open it in your browser with the context ready to go.

Contributing

Issues and PRs are welcome. Please keep changes focused and include concise descriptions.

统计信息

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

GitHub 信息

  • Stars: 22
  • Watchers: 1
  • Forks: 4
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固