PHPackages                             chrismcintosh/laravel-log-s3-driver - 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. chrismcintosh/laravel-log-s3-driver

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

chrismcintosh/laravel-log-s3-driver
===================================

A Laravel log driver for S3

v1.0.6(1y ago)1044.1k↓35%3MITPHPPHP ^8.0

Since Jan 18Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/chrismcintosh/laravel-log-s3-driver)[ Packagist](https://packagist.org/packages/chrismcintosh/laravel-log-s3-driver)[ RSS](/packages/chrismcintosh-laravel-log-s3-driver/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (8)Dependencies (4)Versions (8)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',
        'log_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

41

—

FairBetter than 87% of packages

Maintenance49

Moderate activity, may be stable

Popularity38

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~72 days

Recently: every ~82 days

Total

7

Last Release

465d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a1c4fa5a48de96afee4f4e479209234cb44f4067e79b7c6f95724d6f2c04856?d=identicon)[chrismcintosh](/maintainers/chrismcintosh)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[laravel/octane

Supercharge your Laravel application's performance.

4.0k26.6M223](/packages/laravel-octane)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M992](/packages/statamic-cms)[laravel/nightwatch

The official Laravel Nightwatch package.

36210.1M36](/packages/laravel-nightwatch)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k420.9k26](/packages/team-reflex-discord-php)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)

PHPackages © 2026

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