Download the PHP package engaging-io/issue-reporter without Composer
On this page you can find all versions of the php package engaging-io/issue-reporter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download engaging-io/issue-reporter
More information about engaging-io/issue-reporter
Files in engaging-io/issue-reporter
Package issue-reporter
Short Description A Laravel package for reporting GitHub issues using AI.
License MIT
Informations about the package issue-reporter
Laravel AI Issue Reporter
A Laravel package for reporting exceptions to a designated endpoint with additional context, which can be used for automatic issue creation with AI assistance.
Features
- Report any exception with comprehensive context data
- Special handling for HTTP request exceptions (with additional request data)
- Integration with Slack notifications
- Connection to your GitHub repository for automated issue tracking
- Easy to configure and use in any Laravel application
Requirements
- PHP 7.3+
- Laravel 8.0+ / 9.0+ / 10.0+ / 11.0+ / 12.0+
Installation
You can install the package via Composer:
The package will automatically register its service provider if you're using Laravel 5.5+.
Configuration
Publish the configuration file:
This will create a config/issue-reporter.php file where you can modify the package settings.
Environment Variables
Add these variables to your .env file:
Note: Always keep
ISSUE_REPORTER_ENABLEDset tofalsefor local development environments to prevent unnecessary reporting of development exceptions.
Usage
Basic Exception Reporting
In Exception Handlers
You can easily use the package in your Laravel exception handler:
Using bootstrap/app.php (Laravel 10+)
For Laravel 10 and above, you can also integrate the issue reporter in your bootstrap/app.php file:
HTTP RequestException Handling
The package automatically detects if the exception is an HTTP RequestException and includes relevant request data in the report:
- Request headers
- Request body
- Response data (if available)
This additional information helps with debugging API-related issues.
Security
The package sends exception data to a designated endpoint. Make sure:
- Your Slack webhook URL is kept secure
- Your API endpoint is secured with proper authentication
- Sensitive data in error reports is properly sanitized
Configuration Options
| Option | Environment Variable | Description |
|---|---|---|
enabled |
ISSUE_REPORTER_ENABLED |
Whether the issue reporter is enabled (true/false). Should be set to false for local development |
reference |
ISSUE_REPORTER_GITHUB_REFERENCE |
The default branch or reference in your repository (e.g., 'main', 'master') |
repository |
ISSUE_REPORTER_GITHUB_REPOSITORY |
Your repository name in 'repo' format |
slack_webhook_url |
ISSUE_REPORTER_SLACK_WEBHOOK |
Your Slack webhook URL for notifications |
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Credits
- Danniel Libor
- All contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of issue-reporter with dependencies
illuminate/http Version ^8.0|^9.0|^10.0|^11.0|^12.17
illuminate/support Version ^8.0|^9.0|^10.0|^11.9|^12.17