PHPackages                             wndr/laravel-cloudwatch-tail - 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. wndr/laravel-cloudwatch-tail

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

wndr/laravel-cloudwatch-tail
============================

Tail Laravel log files and ship them to AWS CloudWatch Logs

1.0.0(4mo ago)040MITPHPPHP ^8.2

Since Dec 19Pushed 4mo agoCompare

[ Source](https://github.com/wndrdigital/laravel-cloudwatch-tail)[ Packagist](https://packagist.org/packages/wndr/laravel-cloudwatch-tail)[ RSS](/packages/wndr-laravel-cloudwatch-tail/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

Laravel CloudWatch Tail
=======================

[](#laravel-cloudwatch-tail)

Tail Laravel log files and ship them to AWS CloudWatch Logs.

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

[](#installation)

```
composer require wndr/laravel-cloudwatch-tail
```

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

[](#configuration)

Publish the configuration file:

```
php artisan vendor:publish --tag=cloudwatch-tail-config
```

### Environment Variables

[](#environment-variables)

Configure the following environment variables:

```
CLOUDWATCH_LOG_GROUP_NAME=your-log-group-name
CLOUDWATCH_LOG_REGION=eu-west-1
CLOUDWATCH_LOG_KEY=your-aws-key
CLOUDWATCH_LOG_SECRET=your-aws-secret
```

If `CLOUDWATCH_LOG_KEY` and `CLOUDWATCH_LOG_SECRET` are not set, the AWS SDK will use the default credential provider chain (IAM roles, environment variables, etc.).

Usage
-----

[](#usage)

Run the command to start shipping logs:

```
php artisan cloudwatch:ship-logs
```

### Options

[](#options)

OptionDefaultDescription`--dir``storage/logs`Directory to watch for log files`--pattern``*.log`File pattern to match`--group`Config valueCloudWatch Log Group name`--cursor``cloudwatch-cursors.json`Cursor file (only used when cleanup is disabled)`--flush-seconds``60`Flush interval in seconds`--max-bytes``900000`Max batch bytes per stream before flush`--refresh-seconds``120`How often to rescan directory for new files`--sleep-ms``200`Loop sleep when idle (milliseconds)`--cleanup-after-ship``true`Truncate shipped files and delete old rotated logsLicense
-------

[](#license)

MIT

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance74

Regular maintenance activity

Popularity11

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

144d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e05f0077d10f9ef66e3e5326a9944dd94b6266de8c219da5117b959fb28a654?d=identicon)[wndr](/maintainers/wndr)

---

Top Contributors

[![lenvanessen](https://avatars.githubusercontent.com/u/23024452?v=4)](https://github.com/lenvanessen "lenvanessen (1 commits)")

### Embed Badge

![Health badge](/badges/wndr-laravel-cloudwatch-tail/health.svg)

```
[![Health](https://phpackages.com/badges/wndr-laravel-cloudwatch-tail/health.svg)](https://phpackages.com/packages/wndr-laravel-cloudwatch-tail)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[laravel/ui

Laravel UI utilities and presets.

2.7k134.9M601](/packages/laravel-ui)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[inspector-apm/inspector-laravel

Code Execution Monitoring, built for developers.

2332.0M2](/packages/inspector-apm-inspector-laravel)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)

PHPackages © 2026

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