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(6mo ago)044MITPHPPHP ^8.2

Since Dec 19Pushed 6mo 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 today

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

35

—

LowBetter than 77% of packages

Maintenance67

Regular maintenance activity

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

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

196d 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

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)[laravel/folio

Page based routing for Laravel.

603583.7k33](/packages/laravel-folio)

PHPackages © 2026

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