PHPackages                             arquivei/log-adapter - 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. arquivei/log-adapter

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

arquivei/log-adapter
====================

Arquivei Log Adapter

v1.0.0(4y ago)05.4k22MITPHPPHP ^8.0

Since Aug 22Pushed 4y ago19 watchersCompare

[ Source](https://github.com/arquivei/log-adapter)[ Packagist](https://packagist.org/packages/arquivei/log-adapter)[ RSS](/packages/arquivei-log-adapter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (2)

Arquivei Log Adapter
====================

[](#arquivei-log-adapter)

[![Latest Version on Packagist](https://camo.githubusercontent.com/5b5e25a8a915c0fe84901908f5d5084e185b52f639a888c43553d14bf0bff348/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61727175697665692f6c6f672d616461707465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arquivei/log-adapter)[![Total Downloads](https://camo.githubusercontent.com/08c26bc29f406dadb5c87b9dd7970d421cc9058ad6b123554aabafa091be4d3f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f61727175697665692f6c6f672d616461707465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arquivei/log-adapter)[![PHP Composer](https://github.com/arquivei/log-adapter/workflows/PHP%20Composer/badge.svg?branch=master)](https://github.com/arquivei/log-adapter/workflows/PHP%20Composer/badge.svg?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c41f2760e1bcf0a0f16894d31f6ff7560b1f89aacfd8bb5d10aeb6e2455f6352/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61727175697665692f6c6f672d616461707465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/arquivei/log-adapter/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/8cac9900cf00d42249eb46693df675225fbd33b68e7ab5895e951a33c5177397/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61727175697665692f6c6f672d616461707465722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/arquivei/log-adapter/?branch=master)[![Code Intelligence Status](https://camo.githubusercontent.com/b175c07ac8dc327d0ae9a16c226d8d94d2e3a35d57140fc0e9ec72616ec284a7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61727175697665692f6c6f672d616461707465722f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)

A Monolog wrapper as Laravel Package.

- JSON Formatting
- Monolog
- Psr\\Log\\LoggerInterface support
- Laravel Package Discovery support

### Laravel Support

[](#laravel-support)

- **Log** interface provider
- HTTP Middleware to get TraceId Header

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

[](#installation)

You can install the package via composer:

```
composer require arquivei/log-adapter
```

Usage
-----

[](#usage)

```
$logger = new LogAdapter();
$logger->setTraceId('88d98bf175fe832b70149a9637fcbb3f');
$logger->info('Logging', [
    'user' => 123
]);
```

```
{"message":"Logging","context":{"user":123},"level":200,"level_name":"INFO","channel":"arquivei_log_adapter","datetime":"2020-08-21 11:31:17.565757","extra":{"memory_peak_usage":"4 MB","memory_usage":"4 MB"},"trace_id":"88d98bf175fe832b70149a9637fcbb3f"}

```

### Testing

[](#testing)

```
composer tests
```

### Full quality checks

[](#full-quality-checks)

```
composer check
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Local Development using Docker

[](#local-development-using-docker)

```
docker build -f development.Dockerfile -t arquivei/php:7.4-development .
```

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~478 days

Total

2

Last Release

1607d ago

Major Versions

v0.0.1 → v1.0.02021-12-13

PHP version history (2 changes)v0.0.1PHP ^7.4

v1.0.0PHP ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22685632?v=4)[Qive (Antiga Arquivei)](/maintainers/arquivei)[@arquivei](https://github.com/arquivei)

---

Top Contributors

[![andrelugomes](https://avatars.githubusercontent.com/u/1247724?v=4)](https://github.com/andrelugomes "andrelugomes (4 commits)")[![arq-joao-cruz](https://avatars.githubusercontent.com/u/88548378?v=4)](https://github.com/arq-joao-cruz "arq-joao-cruz (1 commits)")

---

Tags

hacktoberfestlaravellaravel-supportmonolog-wrapperlaravelmonologLogInterface

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/arquivei-log-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/arquivei-log-adapter/health.svg)](https://phpackages.com/packages/arquivei-log-adapter)
```

###  Alternatives

[naoray/laravel-github-monolog

Log driver to store logs as github issues

10619.4k](/packages/naoray-laravel-github-monolog)[shaffe/laravel-mail-log-channel

A package to support logging via email in Laravel

1286.2k](/packages/shaffe-laravel-mail-log-channel)[yzen.dev/mono-processor

This Processor will display in the logs bread crumbs by which you can more quickly and accurately identify the cause of the error.

116.1k](/packages/yzendev-mono-processor)

PHPackages © 2026

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