PHPackages                             cron-eu/cron-awslogs - 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. cron-eu/cron-awslogs

ActiveTypo3-cms-extension

cron-eu/cron-awslogs
====================

cron AWS CloudWatch LogWriter

1.1.0(2mo ago)0556↑91.5%GPL-2.0-or-laterPHP

Since Dec 16Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/cron-eu/t3x-cron-awslogs)[ Packagist](https://packagist.org/packages/cron-eu/cron-awslogs)[ Docs](https://github.com/cron-eu/t3x-cron-awslogs)[ RSS](/packages/cron-eu-cron-awslogs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

cron\_awslogs
=============

[](#cron_awslogs)

The purpose of this extension is to replace all [TYPO3 FileWriter's](https://docs.typo3.org/m/typo3/reference-coreapi/12.4/en-us/ApiOverview/Logging/Writers/Index.html#filewriter) with our custom CloudWatchWriter pushing the logs to aws. The extension transforms the FileWriter `logFile` and `logFileInfix` to a aws (log) `stream` configuration. If a FileWriter is marked as `disabled` (which is the case for the TYPO3 deprecation log by default) it will be removed.

Setup
-----

[](#setup)

Set follow ENV variables to activate the logging

- `AWS_LOGS=true` set, to activate the extension
- `AWS_LOG_GROUP=-` like `lt4u-test-germany-test` for log aws LogGroup

In the `ext_localconf.php`, add

```
// AWS CloudWatch - replace file writers if feature is active
\Cron\CronAwslogs\Util\ReplaceFileWriter::replaceIfActive();

```

to an extension which is loaded after others, setting FileWriter configurations.

Credentials
-----------

[](#credentials)

The [CloudWatchLogsClient](https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.CloudWatchLogs.CloudWatchLogsClient.html) uses available aws credentials or aws env vars by default.

### Docker

[](#docker)

Create an **Access Key** in an user (managed by the IAM Tool) with the "CloudWatchLogsFullAccess" permission policy. Set the Access Key credentials to the env vars below.

```
AWS_DEFAULT_REGION=eu-central-1
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=

```

### AWS

[](#aws)

In ECS the permissions should be available as an IAM TaskRole policy, for example:

```
CloudWatchLogsPolicy:
  Type: AWS::IAM::ManagedPolicy
  Properties:
    PolicyDocument:
      Version: "2012-10-17"
      Statement:
        - Effect: "Allow"
          Action:
            - "logs:CreateLogStream"
            - "logs:PutLogEvents"
          Resource: !GetAtt LogGroup.Arn

```

Technical Details
-----------------

[](#technical-details)

- [SDK for PHP 3.x](https://docs.aws.amazon.com/aws-sdk-php/v3/api/) - Package to interact with AWS
- [PutLogEvents](https://docs.aws.amazon.com/aws-sdk-php/v3/api/api-logs-2014-03-28.html#putlogevents) - to push logs to CloudWatch

###  Health Score

41

—

FairBetter than 88% of packages

Maintenance92

Actively maintained with recent releases

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

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 ~435 days

Total

2

Last Release

73d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5801b90b48cb23858da283af072119996ff293c67f767f299bc6e5fd6ba5a1fa?d=identicon)[baschny](/maintainers/baschny)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/cron-eu-cron-awslogs/health.svg)

```
[![Health](https://phpackages.com/badges/cron-eu-cron-awslogs/health.svg)](https://phpackages.com/packages/cron-eu-cron-awslogs)
```

###  Alternatives

[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[laravel-notification-channels/aws-sns

Amazon Simple Notification Service (AWS SNS) notification channel for Laravel.

541.1M2](/packages/laravel-notification-channels-aws-sns)[ellaisys/aws-cognito

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

120220.7k1](/packages/ellaisys-aws-cognito)[georgeboot/laravel-echo-api-gateway

Use Laravel Echo with API Gateway Websockets

10435.5k](/packages/georgeboot-laravel-echo-api-gateway)[keboola/storage-api-client

Keboola Storage API PHP Client

10387.5k25](/packages/keboola-storage-api-client)[hyperf/odin

425.9k](/packages/hyperf-odin)

PHPackages © 2026

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