← All projects

laravel-error-ai

by @theHocineSaad

Active 22

A Laravel package that adds Ask AI buttons to exception pages, one click opens ChatGPT or Claude with a pre-filled, Markdown-formatted error for instant troubleshooting.

About this project

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 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: If your project's Laravel version is 12.29.0 or higher, install the latest version: If spatie/laravel-ignition is installed on your project, uninstall it (otherwise it will override Laravel's built-in error page): 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.

From the project README on GitHub

Stars
22
Forks
4
License
MIT
Last push
21 Sept 2025

Add this badge to your README

Show that your project is listed on Made in Algeria.

Made in Algeria
[![Made in Algeria](https://www.madeinalgeria.dev/badge/laravel-error-ai.svg)](https://www.madeinalgeria.dev/projects/laravel-error-ai)

Related projects