Download the PHP package maksudur-dev/laravel-logpilot without Composer

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

Laravel LogPilot

Latest Version on Packagist Total Downloads License

A lightweight Laravel activity logging package that improves debugging, tracing, and business-event visibility while using Laravel's EXISTING logging system or a database.

Key Features

Installation

You can install the package via composer:

Run the installation command:

If you are using the database driver, run the migrations:

Updating Package

To update the package to the latest version (v1.0.3):

Or target the version explicitly:

If you are developing locally with a path repository in composer.json, simply run:

Configuration

The configuration file is located at config/logpilot.php.

Usage

1. Global Helper (Quickest)

2. Eloquent Trait (Recommended for Models)

Add the LogsActivity trait to your models:

3. Service Usage

Inject the ActivityLogger service into your classes:

4. Grouping Related Logs (Tracing)

Perfect for complex flows like checkouts or background jobs:

5. Clean Architecture (DTOs, Enums & Services)

LogPilot uses Clean Architecture patterns out-of-the-box. You can leverage Enums, DTOs, and Services in your application:

Enums

ActivityService & DTOs

Encapsulated Model Query Methods

Frontend Integration (Vue/React Example)

Since LogPilot provides an API, you can easily build a "Recent Activity" component.

Example Vue Component

Example React Component

Example Blade Component

If you prefer server-side rendering, you can pass logs to a Blade component:

API Support

LogPilot exposes clean, JSON-ready endpoints with comprehensive search, filtering, and pagination support:

Query Parameters & Filtering (GET /api/activity-logs)

You can pass query parameters to filter, search, and paginate logs:

Parameter Type Description Example
search / q / query string Search across action, message, url, log_id, ip, and model_type fields. ?search=Failed
level string Filter by log level (case-insensitive: error, warning, info, debug, critical, alert, emergency, notice). Pass all or empty to include all levels. ?level=Error
action string Filter by exact action name. ?action=USER_LOGIN
user_id mixed Filter logs for a specific User ID. ?user_id=42
log_id string Filter logs by trace ID (log_id). ?log_id=c2753c6f-6f06-...
model_type string Filter logs for a specific model class. ?model_type=App\Models\User
model_id mixed Filter logs for a specific model ID. ?model_id=5
start_date / date_from / from date Filter logs created on or after date/time. ?start_date=2026-08-01
end_date / date_to / to date Filter logs created on or before date/time. ?end_date=2026-08-14
per_page integer Results per page (default: 20, max: 500). ?per_page=50
page integer Page number for pagination (default: 1). ?page=2

Filtering Example

Artisan Commands

License

The MIT License (MIT). Please see License File for more information.


All versions of laravel-logpilot with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/database Version ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/log Version ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/console Version ^8.0|^9.0|^10.0|^11.0|^12.0|^13.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 maksudur-dev/laravel-logpilot contains the following files

Loading the files please wait ...