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

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

morscate/cloudwatch-logger
==========================

Log events to AWS CloudWatch including embedded metrics

v0.0.11(1y ago)05.9k1MITPHPPHP ^8.0

Since Jul 25Pushed 1y agoCompare

[ Source](https://github.com/morscate/cloudwatch-logger)[ Packagist](https://packagist.org/packages/morscate/cloudwatch-logger)[ RSS](/packages/morscate-cloudwatch-logger/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (12)Used By (0)

Cloudwatch logger (inc. embedded metrics)
=========================================

[](#cloudwatch-logger-inc-embedded-metrics)

This is an ALPHA version of the package. Do not use this is production!

This package allows you to log to AWS Cloudwatch. It also allows you to include to log metrics with AWS embedded metric format ([https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch\_Embedded\_Metric\_Format\_Specification.html](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Embedded_Metric_Format_Specification.html)).

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0
- Laravel &gt;= 9.0

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

[](#installation)

To start using the package, you need to install it via Composer:

```
composer require morscate/cloudwatch-logger

```

Set the following environment variables in your .env file:

```
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=
CLOUDWATCH_LOG_GROUP_NAME=

```

Publish config
--------------

[](#publish-config)

If you need to publish the config file, you can do so by running the following command:

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

```

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within this project, please email me via .

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

Every ~45 days

Recently: every ~103 days

Total

11

Last Release

560d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d4f3f59549aeb7310f56a6f0885a3eb273163cedf4368c64b2455fb1fd637264?d=identicon)[rikmorskate](/maintainers/rikmorskate)

---

Top Contributors

[![rikmorskate](https://avatars.githubusercontent.com/u/3383883?v=4)](https://github.com/rikmorskate "rikmorskate (6 commits)")

---

Tags

logawsMetricscloudwatchembedded metrics

### Embed Badge

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

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

###  Alternatives

[maxbanton/cwh

AWS CloudWatch Handler for Monolog library

42515.3M26](/packages/maxbanton-cwh)[phpnexus/cwh

AWS CloudWatch Handler for Monolog library

393.2M7](/packages/phpnexus-cwh)[bref/monolog-bridge

Monolog formatter optimized for AWS Lambda and CloudWatch

111.2M3](/packages/bref-monolog-bridge)

PHPackages © 2026

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