Download the PHP package zereflab/laravel-bug-bot without Composer

On this page you can find all versions of the php package zereflab/laravel-bug-bot. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-bug-bot

Laravel Bug Bot

Packagist Version Packagist Downloads

Laravel Bug Bot

Organized Laravel exception reports for Slack.

This package replaces noisy default Slack log messages with a clean parent alert, a full threaded exception, duplicate throttling, and Slack buttons for Solved / Ignore.

Features

Getting Started

1. Install the package

2. Publish the config

3. Run the migrations

4. Connect Slack

Install the pre-built Laravel Bug Bot Slack app into your workspace — no Slack app creation needed:

Add to Slack

Direct install URL: https://laravelbugbot.com/integrations/slack/install

After installation, the success page shows a managed bot token. Paste the generated values into your .env:

Managed Slack installs use laravelbugbot.com as the Slack Interactivity Request URL. The package embeds a signed callback in each button so Laravel Bug Bot can forward Solved / Ignore clicks back to the Laravel app where this package is installed.

5. Add Laravel Bug Bot to your Slack channel

Slack requires you to add the installed app to the channel before it can post alerts there.

1. Click the channel name
Open your Slack channel and click the channel name at the top.

2. Open Integrations
In the channel details modal, open the Integrations tab.

3. Click Add an App
In the Apps section, click Add an App.

4. Add Laravel Bug Bot
Find Laravel Bug Bot and click Add.

6. Copy the Slack channel ID

Copy the Channel ID from Slack, then replace the placeholder in BUG_REPORTS_SLACK_CHANNEL.

The channel value is the channel ID, not the channel name.

7. Test your setup

You should see the test exception arrive in your Slack channel. That's it — every exception in your app now lands in Slack, organized.

8. Authorize dashboard access

The dashboard is served by the Laravel application where you install this package:

Full dashboard documentation is available at https://laravelbugbot.com/docs/dashboard.

Edit app/Providers/AppServiceProvider.php and add the dashboard gate inside the boot() function:

Optionally, allow specific users by database ID:

Want To Use Your Own Slack Application?

If you prefer to create and control your own Slack app instead of using the managed Laravel Bug Bot app, follow the separate guide:

➡ Use Your Own Slack App

Environment Variables

Defaults shown below — override only what you need:

After changing config:

What The Slack Alert Looks Like

Parent message:

Thread reply:

Solved And Ignore

Each exception gets a fingerprint based on exception class, message, file, and line.

Bug reports, occurrence counts, statuses, and Slack message references are stored in the database. By default, ignored errors are ignored forever. You can expire ignored errors:

Slack button endpoint

The package automatically registers the Slack interactivity endpoint:

By default this route uses the api middleware and is also registered without Laravel's CSRF middleware, because Slack cannot send a Laravel CSRF token. You should not add this route manually.

To avoid 404s from the common dashboard/action URL mismatch, the package also registers compatibility aliases:

If Slack reaches Laravel but BUG_REPORTS_SLACK_SIGNING_SECRET is missing or wrong, the endpoint returns 401 Invalid signature instead of 404.

Managed Slack app installs also automatically register this client callback endpoint:

Laravel Bug Bot signs each Slack button value with BUG_REPORTS_MANAGED_ACTION_SECRET (defaults to APP_KEY) and includes this callback URL. When Slack sends the click to laravelbugbot.com, Laravel Bug Bot forwards the action to this endpoint so the package can update the local database.

Make sure APP_URL is correct in the Laravel app where the package is installed. If auto-detection is wrong, set:

If you use your own Slack app and want Slack Solved / Ignore buttons, set the Slack app's Interactivity Request URL to your deployed Laravel app:

If you change BUG_REPORTS_ROUTE_PREFIX, the URL changes too. For example:

Then Slack must post to:

Dashboard

The package includes a built-in dashboard served inside your Laravel application:

Read the full dashboard guide at https://laravelbugbot.com/docs/dashboard.

The dashboard shows:

Change the dashboard path:

Dashboard authorization

The dashboard denies everyone by default. To grant access, edit app/Providers/AppServiceProvider.php and add the gate inside the boot() function:

Or allow specific user IDs without defining a gate:

Add authentication middleware so visitors are sent to login first:

Production Notes

Use this in production:

Do not use Laravel's default slack channel if you want this package's formatting. Use bug_reports.

Future Discord Support

The package is structured around reporter drivers. Slack is the first reporter. Discord can be added later with the same fingerprinting, summary formatting, threaded/detail behavior where supported, and solved/ignore state.

License

MIT


All versions of laravel-bug-bot with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/bus Version ^10.0|^11.0|^12.0|^13.0
illuminate/cache Version ^10.0|^11.0|^12.0|^13.0
illuminate/config Version ^10.0|^11.0|^12.0|^13.0
illuminate/contracts Version ^10.0|^11.0|^12.0|^13.0
illuminate/database Version ^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^10.0|^11.0|^12.0|^13.0
illuminate/log Version ^10.0|^11.0|^12.0|^13.0
illuminate/queue Version ^10.0|^11.0|^12.0|^13.0
illuminate/routing Version ^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
monolog/monolog Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package zereflab/laravel-bug-bot contains the following files

Loading the files please wait ...