PHPackages                             plumthedev/php-cloudwatch-logger - 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. plumthedev/php-cloudwatch-logger

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

plumthedev/php-cloudwatch-logger
================================

A PHP library for logging to AWS Cloudwatch.

v1.0.3(2y ago)26911MITPHPPHP ^8.1

Since Mar 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/plumthedev/php-cloudwatch-logger)[ Packagist](https://packagist.org/packages/plumthedev/php-cloudwatch-logger)[ Docs](https://github.com/plumthedev/php-cloudwatch-logger)[ RSS](/packages/plumthedev-php-cloudwatch-logger/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (10)Versions (5)Used By (1)

PHP Cloudwatch Logger
=====================

[](#php-cloudwatch-logger)

[![PHP](https://camo.githubusercontent.com/bbeaca4ecdd74d3fde840f711ebb8a5def2ff801187623f9bc365761b3b66f86/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2532333737374242342e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/bbeaca4ecdd74d3fde840f711ebb8a5def2ff801187623f9bc365761b3b66f86/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2532333737374242342e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)[![PhpStorm](https://camo.githubusercontent.com/0a232f095a061b7f45c7d09970563fd5646f07c9f5f9d65d7076871c4ee8a367/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70687073746f726d2d3134333f7374796c653d666f722d7468652d6261646765266c6f676f3d70687073746f726d266c6f676f436f6c6f723d626c61636b26636f6c6f723d626c61636b266c6162656c436f6c6f723d6461726b6f7263686964)](https://camo.githubusercontent.com/0a232f095a061b7f45c7d09970563fd5646f07c9f5f9d65d7076871c4ee8a367/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70687073746f726d2d3134333f7374796c653d666f722d7468652d6261646765266c6f676f3d70687073746f726d266c6f676f436f6c6f723d626c61636b26636f6c6f723d626c61636b266c6162656c436f6c6f723d6461726b6f7263686964)

[![example workflow](https://github.com/plumthedev/php-cloudwatch-logger/actions/workflows/quality_check.yml/badge.svg)](https://github.com/plumthedev/php-cloudwatch-logger/actions/workflows/quality_check.yml/badge.svg)[![tests coverage](https://raw.githubusercontent.com/plumthedev/php-cloudwatch-logger/image-data/coverage.svg)](https://raw.githubusercontent.com/plumthedev/php-cloudwatch-logger/image-data/coverage.svg)

Introduction
------------

[](#introduction)

PHP Cloudwatch Logger is a PHP library designed for logging to the AWS Cloudwatch service. It offers a seamless way to track various types of information from your PHP application directly to AWS Cloudwatch.

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

[](#installation)

```
composer require plumthedev/php-cloudwatch-logger

```

Usage
-----

[](#usage)

To instantiate a Monolog logger, utilize the `CloudwatchLoggerFactory::createCloudwatchLogger` method. This method initializes a new logger instance, requiring the complete configuration during logger creation.
*@see [LoggerFactory::createCloudwatchLogger](./src/Logger/LoggerFactory.php)*

Testing
-------

[](#testing)

To run tests, you need to build a Docker image first:

```
make build
```

Only then you can execute the tests:

```
make test
```

Contribution
------------

[](#contribution)

If you spot areas for improvement, wish to make enhancements, or have ideas for further development, feel free to contribute to this project.

To access the project terminal, you must first build the Docker image:

```
make build
```

Afterward, you can enter the console:

```
make run
```

Before submitting a pull request, ensure everything is in order:

```
make check
```

License
-------

[](#license)

This project is licensed under the terms of the MIT license. See the [LICENSE](LICENSE) file for details.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

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

4

Last Release

836d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/26173777?v=4)[Kacper Pruszyński](/maintainers/plumthedev)[@plumthedev](https://github.com/plumthedev)

---

Top Contributors

[![plumthedev](https://avatars.githubusercontent.com/u/26173777?v=4)](https://github.com/plumthedev "plumthedev (8 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (4 commits)")

---

Tags

phpawsloggercloudwatch

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/plumthedev-php-cloudwatch-logger/health.svg)

```
[![Health](https://phpackages.com/badges/plumthedev-php-cloudwatch-logger/health.svg)](https://phpackages.com/packages/plumthedev-php-cloudwatch-logger)
```

###  Alternatives

[maxbanton/cwh

AWS CloudWatch Handler for Monolog library

42515.7M33](/packages/maxbanton-cwh)[phpnexus/cwh

AWS CloudWatch Handler for Monolog library

393.5M7](/packages/phpnexus-cwh)[ellaisys/aws-cognito

AWS Cognito package that allows Auth and other related features using the AWS SDK for PHP

121242.9k1](/packages/ellaisys-aws-cognito)

PHPackages © 2026

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