Download the PHP package logtracker/laravel without Composer

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

LogTracker for Laravel

LogTracker is a local, open-source incident tracer for Laravel. It turns the logger and lifecycle signals Laravel already emits into a Rollbar-style Items inbox and execution-story detail page.

No Rollbar package is required. No collector, account, API key, subscription, or hosted service is involved. By default, no telemetry leaves the application.

Status: 1.0.0 release-ready. The package includes the local recorder, complete dashboard, privacy defaults, issue workflow, encrypted runtime controls, optional notifications, lifecycle tooling, and the Laravel/database compatibility fixtures described below.

Requirements

Laravel 11 remains source-compatible and is covered by the package test matrix. As of July 2026, Composer's security blocking rejects a fresh Laravel 11 dependency solve because of upstream framework advisories. Do not disable security auditing for a production install; prefer Laravel 12 or 13 for new applications. The Laravel 11 CI fixture uses --no-blocking only so those upstream advisories do not hide compatibility regressions in this package.

Install

LogTracker is available on Packagist. Until the first stable tag is published, install the current dev-main build:

Then install and verify the package:

Open /log-tracker.

The installer creates config/log-tracker.php with a unique, immutable installation ID. Do not copy that value between applications. Package migrations are loaded automatically.

Dashboard

The package owns its Blade views and CSS; the host application does not need a frontend build. Desktop and mobile layouts expose six working surfaces:

Use Laravel's existing logger

Existing application code is enough:

MessageLogged makes that an incident trigger at configured levels. Lower levels become bounded breadcrumbs when an execution is already active. Channels built outside Laravel's log manager may not emit MessageLogged and are therefore outside the automatic guarantee.

Manual capture is available for cases that are not logs:

capture() never reports, throws, swallows, or rethrows an exception. The host application retains control of its exception policy.

Production authorization

Local access is allowed only when both conditions are true:

Every other environment denies access until the application defines both gates. viewLogTracker protects every dashboard read; manageLogTracker protects Item state changes, notification changes/tests, and runtime configuration changes:

Or register one runtime callback in an application service provider:

Run php artisan log-tracker:doctor --production before enabling the dashboard in production. A user who can view but not manage receives an explicitly read-only dashboard; mutation endpoints still enforce the manage ability server-side and use Laravel's CSRF middleware.

What is captured

The native recorder uses Laravel's public surfaces:

Surface Root or story entry Trigger
HTTP middleware request root escaped exception, 5xx, slow request
MessageLogged breadcrumb configured log level or throwable
QueryExecuted span without bindings configured slow query
Laravel HTTP client events span without body/headers/query string connection failure, 5xx, slow call
console events command root non-zero exit, slow command
queue events job root or sync breadcrumb terminal failure, slow job
scheduler events schedule root exception, non-zero exit, slow task
mail events span without subject, addresses, data, or body parent failure policy
notification events span channel failure
configured application events allowlisted scalar breadcrumb parent failure policy
PHP shutdown hook partial shutdown root or current root recoverable fatal error
facade API current or short manual root explicit capture

Successful roots do not write to the LogTracker database.

Privacy defaults

Every persistence path uses the same recursive sanitizer:

Review config/log-tracker.php for the exact defaults. The database, Blade UI, and notification adapters all consume the same sanitized representation.

Application-event breadcrumbs are opt-in and copy only explicitly named scalar paths:

The event object itself is never serialized.

Affected users

Authenticated request identifiers are HMACed with a key derived from APP_KEY and the immutable LogTracker installation ID. Only the 64-character digest enters an execution or signed queue envelope. Raw IDs, emails, names, and notifiable objects are not stored.

Use LogTracker::identifyUser($id) inside jobs, commands, or manual contexts. Pass null to clear the current execution identity. Retained distinct counts are repaired by log-tracker:prune and log-tracker:regroup.

Dedicated database connection

LogTracker clones the configured host connection under the separate log_tracker connection name. Laravel therefore creates a separate connection/PDO even when it points to the same local DBngin-managed server and database.

An incident can commit while the host connection later rolls back. Package writes are also ignored by the query watcher, preventing recursive capture. Three consecutive persistence failures open a process-local circuit for 30 seconds.

To use another database server, define a normal Laravel connection named log_tracker yourself and set:

The package connection name and the host source connection name must remain different.

Grouping and execution stories

Queue propagation

Async context uses a reserved _log_tracker payload envelope with:

The envelope is authenticated metadata. LogTracker does not claim the top-level envelope itself is confidential or encrypted. Invalid, old, missing, or modified envelopes are ignored and the job starts with origin unavailable.

The default signed-envelope lifetime is seven days with five minutes of allowed clock skew. Change it only when delayed jobs legitimately need a different correlation window.

OpenTelemetry

The domain model is OpenTelemetry-compatible, but version 1.0 deliberately ships one native recorder and no OpenTelemetry runtime dependency.

The architecture spike found that the current Keepsuit integration offers custom processors but owns provider construction and defaults traces, metrics, and logs to OTLP. A separately installed Laravel package cannot guarantee auto-discovery order, safely mutate a provider that is already global, or promise that it never increases a host exporter's volume.

The native recorder keeps W3C-compatible IDs and queue context, so a future explicit interoperability adapter can be added without changing Issue, occurrence, or execution storage. See recorder decision.

Optional email and Slack notifications

Outbound notifications are disabled by default. When enabled, only the sanitized Item title, level, execution identity, environment, release, occurrence count, and dashboard URL are sent. Stack traces, execution context, breadcrumbs, and affected-user hashes are never included.

Configure these values in config/log-tracker.php or from /log-tracker/notifications. Dashboard overrides are encrypted with APP_KEY in the local log_tracker_system_state table. A saved Slack webhook is never rendered back to the browser; leaving the field blank preserves it, and removal requires the explicit checkbox.

Adapters use the host Laravel mailer and HTTP client. Delivery happens only after the incident transaction commits; a transport failure is diagnosed and never rolls back or changes host behavior. Muted Items do not emit reopen notifications. Dashboard links use the configured URL rather than the inbound request host, Slack control markup is escaped, and each worker enforces the configured per-minute delivery ceiling.

Runtime configuration

/log-tracker/configuration changes only operational settings that are safe to apply at runtime:

Overrides are allowlisted, encrypted with APP_KEY, stored locally, and applied before watchers register on the next application boot. Saving applies the new values immediately to the current process. Reset removes only the encrypted override record and restores the published configuration and environment values; it never deletes captured data.

Structural policy remains file-controlled, including the database connection, route prefix/middleware, recorder, watcher enablement, redaction rules, capture limits, and installation ID.

Commands

Schedule pruning in the host application:

Uninstall

The uninstall command removes only LogTracker-owned database tables and the published config/log-tracker.php file. It asks for confirmation before deleting anything:

Use --keep-data to preserve captured incidents, --keep-config to preserve the published configuration, or --force for a reviewed non-interactive uninstall. The command removes its two migration records when it removes the tables, so reinstalling the package can recreate the schema normally. Combining --keep-data and --keep-config is rejected because it would remove nothing.

Upgrade from the alpha

Back up the application database, update the package, then run:

The upgrade command applies only this package's migrations, advances the published config contract to version 2 when it can do so safely, and records the schema/package version in the installation anchor. It never overwrites the installation ID.

log-tracker:regroup is preview-only by default. Use --write only after reviewing the projected Item count. New fingerprint groups inherit the first source Item's state. Alpha exception rows that predate stored exception-class metadata retain their previous group boundary instead of being guessed.

Runtime and failure boundary

Queue loop/stopping events and available Octane/Horizon lifecycle events clear all singleton execution and watcher state between operations. Successful roots still perform no package database writes. Fixed query-budget tests cap the Items page at four package queries, Issue detail at seven, Occurrences and Traces at two each, and global Search at four.

Failure isolation is best effort for catchable PHP/Laravel failures. The package cannot guarantee capture during SIGKILL, machine loss, irrecoverable OOM, engine termination, or before Laravel boots.

Develop

The Testbench suite verifies every capture surface, request/SQL/mail/ notification privacy, embedded secret detection, payload limits, observer and adapter failure isolation, grouping/regrouping, affected-user HMAC counts, dedicated transaction isolation, worker cleanup, installation upgrades, signed and expiring queue context, real trends, assignment/bulk actions, dashboard authorization and read-only rendering, optimistic state conflicts, automatic reopening, global search, occurrence/trace navigation, encrypted runtime settings, safe notification testing, guarded uninstall, fixed query budgets, and signed-cursor recovery. CI runs Laravel 11–13 plus SQLite, MySQL 8.4, and PostgreSQL 17 fixtures.

License

MIT. See LICENSE.md.


All versions of laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
illuminate/console Version ^11.31|^12.0|^13.0
illuminate/contracts Version ^11.31|^12.0|^13.0
illuminate/database Version ^11.31|^12.0|^13.0
illuminate/events Version ^11.31|^12.0|^13.0
illuminate/http Version ^11.31|^12.0|^13.0
illuminate/log Version ^11.31|^12.0|^13.0
illuminate/mail Version ^11.31|^12.0|^13.0
illuminate/notifications Version ^11.31|^12.0|^13.0
illuminate/routing Version ^11.31|^12.0|^13.0
illuminate/support Version ^11.31|^12.0|^13.0
psr/log 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 logtracker/laravel contains the following files

Loading the files please wait ...