Download the PHP package signalstack/laravel without Composer

On this page you can find all versions of the php package signalstack/laravel. 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

SignalStack Laravel SDK

Laravel SDK for sending error logs to a SignalStack server.

Requirements

Installation

Publish the config file:


Configuration

Add these variables to your .env:

All available variables

Variable Default Description
SIGNALSTACK_URL http://localhost:8000 Your SignalStack server URL
SIGNALSTACK_API_KEY — Project API key (from the SignalStack dashboard)
SIGNALSTACK_ENVIRONMENT APP_ENV value Environment name sent with each error
SIGNALSTACK_SOURCE APP_NAME value Source identifier sent with each error
SIGNALSTACK_LEVEL error Minimum log level to capture (see note below)
SIGNALSTACK_TIMEOUT 5 HTTP request timeout in seconds
SIGNALSTACK_EXCEPTION_HANDLER true Auto-capture unhandled exceptions
SIGNALSTACK_QUEUE_ENABLED false Send errors via queue (recommended for production)
SIGNALSTACK_QUEUE_CONNECTION null Queue connection (database, redis, etc.)
SIGNALSTACK_QUEUE_NAME default Queue name to push jobs onto
SIGNALSTACK_BATCH_ENABLED false Accumulate errors and send in batches
SIGNALSTACK_BATCH_SIZE 10 Number of errors per batch

Important: SIGNALSTACK_LEVEL=error will silently drop warning, notice, info, and debug messages. Set to warning if you want to capture both warnings and errors.


Verify Connection

After configuring your .env, run:

Expected output:

Check the health of your SignalStack server:


Usage

Facade

Capturing exceptions

Unhandled exceptions are also captured automatically when SIGNALSTACK_EXCEPTION_HANDLER=true (the default).

As a Laravel log channel

Add the channel to config/logging.php:

Now Log::error(...) and Log::warning(...) automatically forward to SignalStack.

Artisan commands


Advanced

Queue mode (recommended for production)

Send errors asynchronously so they don't slow down user requests:

Staging vs Production:

  • On staging — set SIGNALSTACK_QUEUE_ENABLED=false. Errors are sent immediately via HTTP, no queue worker needed.
  • On production — set SIGNALSTACK_QUEUE_ENABLED=true. Errors are dispatched to the queue and processed by Supervisor in the background, with zero impact on response time.

Make sure the SIGNALSTACK_QUEUE_NAME matches the queue your Supervisor worker is listening to.

Batch mode

Accumulate errors and send them in a single request instead of one-by-one:

The batch is flushed automatically when it reaches the configured size, or when the application terminates.

Minimum log level

Only capture errors at or above a given severity:

Context collection

Context fields collected automatically with each error (all enabled by default):

Safe usage in jobs and background processes

When using SignalStack inside queue jobs or any code where it must not affect core logic, use this safe pattern:

This ensures:


Troubleshooting

signalstack:test returns "Failed to send test error"

Warnings are not appearing in the dashboard

Errors are sent but no Telegram/Slack notification received

Jobs stuck in queue / notifications delayed


All versions of laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^10.0|^11.0|^12.0
guzzlehttp/guzzle Version ^7.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 signalstack/laravel contains the following files

Loading the files please wait ...