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

Since Dec 19Pushed 8mo 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 1w 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

34

—

LowBetter than 74% of packages

Maintenance62

Regular maintenance activity

Popularity8

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

241d 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.1k4.6M319](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

20433.0M1.8k](/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.

45844.8k1](/packages/pressbooks-pressbooks)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

5031.3k](/packages/erag-laravel-lang-sync-inertia)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

265.2k](/packages/aedart-athenaeum)[forjedio/inertia-table

Backend-driven dynamic tables for Laravel + Inertia.js

272.0k](/packages/forjedio-inertia-table)

PHPackages © 2026

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