PHPackages                             kirubha7/cloudwatch-logs-laravel - 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. kirubha7/cloudwatch-logs-laravel

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

kirubha7/cloudwatch-logs-laravel
================================

Laravel Cloudwatch Logs Package

v1.0(3y ago)04.5k↓50%MITPHPPHP ^7.2 || ^8

Since Sep 13Pushed 3y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

AWS CloudWatch Logs for Laravel
===============================

[](#aws-cloudwatch-logs-for-laravel)

[![Version](https://camo.githubusercontent.com/d78085b864f49ba651a62dace75038a3d873bb65848e930e4344ce91abd6fb81/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b697275626861372f636c6f756477617463682d6c6f67732d6c61726176656c2e737667)](https://packagist.org/packages/kirubha7/cloudwatch-logs-laravel)[![Downloads](https://camo.githubusercontent.com/343cc4f51f17e60ece4538726df39e743c32a6041117b7d1ff2ff397772308b3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b697275626861372f636c6f756477617463682d6c6f67732d6c61726176656c2e737667)](https://packagist.org/packages/kirubha7/cloudwatch-logs-laravel/stats)

Before using this library, it's recommended to get acquainted with the [pricing](https://aws.amazon.com/en/cloudwatch/pricing/) for AWS CloudWatch services.

Please press **★ Star** button if you find this library useful.

Disclaimer
----------

[](#disclaimer)

This library uses AWS API through AWS PHP SDK, which has limits on concurrent requests. It means that on high concurrent or high load applications it may not work on it's best way. Please consider using another solution such as logging to the stdout and redirecting logs with fluentd.

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

[](#requirements)

- PHP ^7.2
- aws/aws-sdk-php": "^3.18
- AWS account with proper permissions (see list of permissions below)

Features
--------

[](#features)

- Creating Log Groups
- Creating Log Streams
- Check if Log Groups exists or not
- Check if Log Stream exists or not
- Sending Logs to cloudwatch log stream
- AWS CloudWatch Logs staff lazy loading
- Suitable for web applications and for long-living CLI daemons and workers

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

[](#installation)

Install the latest version with [Composer](https://getcomposer.org/) by running

```
$ composer require kirubha7/cloudwatch-logs-laravel
```

Basic Usage
-----------

[](#basic-usage)

```
