PHPackages                             jrbecart/laravel-log-s3-driver-l9 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. jrbecart/laravel-log-s3-driver-l9

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

jrbecart/laravel-log-s3-driver-l9
=================================

A Laravel log driver for S3

v1.2.0(1y ago)0625MITPHPPHP ^8.0

Since Sep 13Pushed 1y agoCompare

[ Source](https://github.com/jrbecart/laravel-log-s3-driver-l9)[ Packagist](https://packagist.org/packages/jrbecart/laravel-log-s3-driver-l9)[ RSS](/packages/jrbecart-laravel-log-s3-driver-l9/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

Laravel S3 Logging Driver
=========================

[](#laravel-s3-logging-driver)

This package provides a logging driver for Laravel applications that allows logs to be written directly to S3 compatible storage in real time.

Installation
------------

[](#installation)

You can install the package via composer: `composer require chrismcintosh/laravel-log-s3-driver`

Configuration
-------------

[](#configuration)

After installing the package, you need to add the following configuration to the `config/logging.php` file channel array

Minimum Configuration

```
    's3Logger' => [
        'driver' => 'custom',
        'via' => \Chrismcintosh\LaravelLogS3Driver\LaravelLogS3Driver::class,
    ],

```

Or Sample Configuration with Options

```
    's3Logger' => [
        'driver' => 'custom',
        'via' => \Chrismcintosh\LaravelLogS3Driver\LaravelLogS3Driver::class,
        'disk' => 's3',
        'mirror_style' => 'single',
        'directory' => 'my/custom/logs/path'
    ],

```

Configuration Options Explained
-------------------------------

[](#configuration-options-explained)

### Disk

[](#disk)

For this to work you must have an s3 compatible disk defined in ./config/filesystems.php we are looking for the name of the disk here.

- default is `s3`

### Mirror Style

[](#mirror-style)

This will work the same way that the normal native single or daily options work in Laravel as you are used to. The key difference is single will append everything to a single `laravel.log` file while daily will name the log file with the current date and append to that.

- Options
    - `single`
    - `daily`

Default is `single`

### Directory

[](#directory)

Do you want your logs to be placed in a specific directory in your bucket? Specify that here.

Default is `logs`

Usage
-----

[](#usage)

Once configured you can make this driver your default logging channel in your .env file by changing the log channel to use s3Logger `LOG_CHANNEL=s3Logger`

Or you can use the channel as needed `Log::channel('s3Logger')->info("Test Log");`

Security
--------

[](#security)

If you discover any security related issues, please email instead of using the issue tracker.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

3

Last Release

602d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/66736c7dc210e5d348ddc9c3a9c8a52f6b005047137abe0ce383f7d9aed73188?d=identicon)[jbecart](/maintainers/jbecart)

---

Top Contributors

[![chrismcintosh](https://avatars.githubusercontent.com/u/2763551?v=4)](https://github.com/chrismcintosh "chrismcintosh (15 commits)")[![jrbecart](https://avatars.githubusercontent.com/u/11264667?v=4)](https://github.com/jrbecart "jrbecart (11 commits)")[![Olimbot](https://avatars.githubusercontent.com/u/5463805?v=4)](https://github.com/Olimbot "Olimbot (1 commits)")

### Embed Badge

![Health badge](/badges/jrbecart-laravel-log-s3-driver-l9/health.svg)

```
[![Health](https://phpackages.com/badges/jrbecart-laravel-log-s3-driver-l9/health.svg)](https://phpackages.com/packages/jrbecart-laravel-log-s3-driver-l9)
```

###  Alternatives

[laravel/nightwatch

The official Laravel Nightwatch package.

3486.1M13](/packages/laravel-nightwatch)[bacula-web/bacula-web

The open source web based reporting and monitoring tool for Bacula

1537.5k](/packages/bacula-web-bacula-web)[hamidrezaniazi/pecs

PHP ECS (Elastic Common Schema): Simplify logging with the power of elastic common schema.

3325.5k1](/packages/hamidrezaniazi-pecs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
