PHPackages                             ageekdev/vapor-http-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. ageekdev/vapor-http-logger

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

ageekdev/vapor-http-logger
==========================

This package can log incoming requests to the cloud watch for laravel vapor application.

v2.0.0(1mo ago)124.3k↓33.3%MITPHPPHP ^8.2CI passing

Since Oct 9Pushed 1mo ago2 watchersCompare

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

READMEChangelog (4)Dependencies (20)Versions (6)Used By (0)

Vapor HTTP Logger
=================

[](#vapor-http-logger)

[![Latest Version on Packagist](https://camo.githubusercontent.com/767648611313842dde398f4cae5ffbcfa422f7fb1138205d82f2e8150929fa5a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616765656b6465762f7661706f722d687474702d6c6f676765722e7376673f7374796c653d666c61742d737175617265266c6f676f3d5061636b6167697374)](https://packagist.org/packages/ageekdev/vapor-http-logger)[![Laravel 12.x](https://camo.githubusercontent.com/515addb2a791e661c97eeb49d881e2cd351812d955ed093ffd5c1703ec8131b1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e782d7265643f7374796c653d666c61742d737175617265266c6f676f3d4c61726176656c)](http://laravel.com/docs/12.x)[![Laravel 13.x](https://camo.githubusercontent.com/6b6bbc0bd11a855a8d844f7e05b91adf63f27f48c8a7321a25baae9d6d1d5c2e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31332e782d7265643f7374796c653d666c61742d737175617265266c6f676f3d4c61726176656c)](http://laravel.com/docs/13.x)[![GitHub Tests Action Status](https://camo.githubusercontent.com/63bf7c6b7e47a5d93e8ebf432d7ffd8e88afda1b04ee94c72569c52606320d67/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f616765656b6465762f7661706f722d687474702d6c6f676765722f72756e2d74657374732e796d6c3f6c6f676f3d676974687562266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/ageekdev/vapor-http-logger/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/267ff7ed89958c8fd9754974ef160c93dc05854c2a9c96a842ed077a76dbdb61/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616765656b6465762f7661706f722d687474702d6c6f676765722e7376673f7374796c653d666c61742d737175617265266c6f676f3d5061636b6167697374)](https://packagist.org/packages/ageekdev/vapor-http-logger)

Log HTTP requests in Laravel Vapor applications

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

[](#installation)

You can install the package via composer:

```
composer require ageekdev/vapor-http-logger
```

You can publish the config file with:

```
php artisan vendor:publish --provider="AgeekDev\HttpLogger\HttpLoggerServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
return [
    /*
     *  Automatic registration of middleware will only happen if this setting is `true`
     */
    'enabled' => env('HTTP_LOGGER_ENABLED', true),

    /*
     * The log profile which determines whether a request should be logged.
     * It should implement `LogProfile`.
     */
    'log_profile' => \AgeekDev\HttpLogger\LogNonGetRequests::class,

    /*
     * The log writer used to write the request to a log.
     * It should implement `LogWriter`.
     */
    'log_writer' => \AgeekDev\HttpLogger\DefaultLogWriter::class,

    /*
     * The log channel used to write the request.
     */
    'log_channel' => env('LOG_CHANNEL', 'stderr'),

    /*
     * The log level used to log the request.
     */
    'log_level' => 'info',

    /*
     * List of request methods that will be logged.
     */
    'request_methods' => ['post', 'put', 'patch', 'delete'],

    /*
     * Filter out body fields which will never be logged.
     */
    'except' => [
        'password',
        'password_confirmation',
    ],

    /*
     * List of headers that will be sanitized. For example Authorization, Cookie, Set-Cookie...
     */
    'sanitize_headers' => [],
];
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

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

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

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Tint Naing Win](https://github.com/tintnaingwinn)
- [All Contributors](../../contributors)

This package contains code copied from [Log HTTP requests](https://github.com/spatie/laravel-http-logger)

License
-------

[](#license)

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

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance90

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

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

Total

4

Last Release

49d ago

Major Versions

v1.2.0 → v2.0.02026-03-21

PHP version history (3 changes)v1.0.0PHP ^8.1|^8.2

v1.1.0PHP ^8.1

v2.0.0PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

http-loggerlaravellaravel-vaporvaporlaravelvaporhttp-logger

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/ageekdev-vapor-http-logger/health.svg)

```
[![Health](https://phpackages.com/badges/ageekdev-vapor-http-logger/health.svg)](https://phpackages.com/packages/ageekdev-vapor-http-logger)
```

###  Alternatives

[opcodesio/log-viewer

Fast and easy-to-use log viewer for your Laravel application

4.3k8.9M50](/packages/opcodesio-log-viewer)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[spatie/laravel-slack-alerts

Send a message to Slack

3212.6M4](/packages/spatie-laravel-slack-alerts)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[inspector-apm/inspector-laravel

Code Execution Monitoring, built for developers.

2332.0M2](/packages/inspector-apm-inspector-laravel)[bilfeldt/laravel-request-logger

Log Laravel application request and responses for debugging or statistics

122163.3k2](/packages/bilfeldt-laravel-request-logger)

PHPackages © 2026

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