PHPackages                             nestednet/timber-laravel-sentinel - 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. nestednet/timber-laravel-sentinel

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

nestednet/timber-laravel-sentinel
=================================

Laravel package for communicating with Timber (timber.io) logger API

v1.0.10(6y ago)022MITPHPPHP &gt;=7.2

Since Nov 24Pushed 6y ago2 watchersCompare

[ Source](https://github.com/Nestednet/timber-laravel-sentinel)[ Packagist](https://packagist.org/packages/nestednet/timber-laravel-sentinel)[ Docs](https://github.com/Nestednet/timber-laravel-sentinel)[ RSS](/packages/nestednet-timber-laravel-sentinel/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (7)Versions (10)Used By (0)

Timber
======

[](#timber)

[![Latest Version on Packagist](https://camo.githubusercontent.com/cfd898c5fa2191b32a6c92a569214d3aa5c501977a5fdfb1c001f379a931593c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726562696e672f74696d6265722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rebing/timber-laravel)[![Total Downloads](https://camo.githubusercontent.com/41da9fe3e42c7e3431d7dbcf5baee8310b006d29c46d2c4737cefa9a48d80cd7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726562696e672f74696d6265722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/rebing/timber-laravel)[![Build Status](https://camo.githubusercontent.com/1f6e7ad734c5493ce498cd121b554408596072563666656665b0bbab8248e724/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f726562696e672f74696d6265722d6c61726176656c2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/rebing/timber-laravel)

A Laravel 5+ wrapper for the [Timber Logger](https://timber.io/) service. Use it to log HTTP requests or custom events to Timber.

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

[](#installation)

**1.** Require the package via Composer

```
$ composer require rebing/timber-laravel
```

**2.** Laravel 5.5+ will autodiscover the package, for older versions add the following service provider

```
Rebing\Timber\TimberServiceProvider::class,
```

and alias

```
'Timber' => 'Rebing\Timber\Support\Facades\Timber',
```

in your `config/app.php` file.

**3.** Publish the configuration file

```
$ php artisan vendor:publish --provider="Rebing\Timber\TimberServiceProvider"
```

**4.** Review the configuration file

```
config/graphql.php

```

and add your Timber API key to `.env`

**5.** (Optional) Log incoming requests

Check [HTTP Requests](#http-requests)

**6.** (Optional) Log all messages

Check [Log all messages](#log-all-messages)

Usage
-----

[](#usage)

### HTTP Requests

[](#http-requests)

To log HTTP requests use the `Rebing\Timber\Middleware\LogRequest::class` middleware. This will log all incoming requests and responses, including context and Auth data.

For example, you can add it to `Kernel.php`:

```
class Kernel extends HttpKernel
{
    /**
     * The application's global HTTP middleware stack.
     *
     * These middleware are run during every request to your application.
     */
    protected $middleware = [
        Rebing\Timber\Middleware\LogRequest::class,
    ];
}
```

### Log all messages

[](#log-all-messages)

This requires Laravel 5.6+

You can leverage Laravel's `Logger` facade to log all messages to Timber.

Add a new channel to `config/logging.php`

```
'channels' => [
    'timber' => [
        'driver' => 'monolog',
        'handler' => Rebing\Timber\Handlers\TimberHandler::class,
    ],
];
```

And update your .env with `LOG_CHANNEL=timber`

You can then easily log custom data by providing a message, type and data. For example:

```
$data = [
    'key' => 'value',
];
\Log::info('Some message', ['type' => $data]);
```

### Custom Events

[](#custom-events)

You can also log custom data. Context will be added automatically.

```
use Rebing\Timber\Requests\Events\CustomEvent;

$data = [
    'some' => 'data',
];

$customEvent = new CustomEvent('Log message', 'custom', $data);
dispatch($customEvent);
// Or $customEvent->send();
```

### Disable logging

[](#disable-logging)

You can disable sending logs to Timber by updating your .env file with

```
TIMBER_ENABLED=false

```

Testing
-------

[](#testing)

```
$ phpunit
```

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

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Mikk Mihkel Nurges](https://github.com/rebing)
- [All Contributors](../../contributors%5D)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~70 days

Total

8

Last Release

2414d ago

PHP version history (2 changes)v1.0PHP &gt;=7.1

v1.0.9PHP &gt;=7.2

### Community

Maintainers

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

---

Top Contributors

[![eaarranz](https://avatars.githubusercontent.com/u/20563513?v=4)](https://github.com/eaarranz "eaarranz (5 commits)")[![snurges](https://avatars.githubusercontent.com/u/15207547?v=4)](https://github.com/snurges "snurges (1 commits)")

---

Tags

loglaravelloggingtimber

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nestednet-timber-laravel-sentinel/health.svg)

```
[![Health](https://phpackages.com/badges/nestednet-timber-laravel-sentinel/health.svg)](https://phpackages.com/packages/nestednet-timber-laravel-sentinel)
```

###  Alternatives

[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k114.3M154](/packages/sentry-sentry-laravel)[marvinlabs/laravel-discord-logger

Logging to a discord channel in Laravel

2081.1M2](/packages/marvinlabs-laravel-discord-logger)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299549.3k1](/packages/larabug-larabug)[ytake/laravel-fluent-logger

fluent logger for laravel and lumen

63541.6k1](/packages/ytake-laravel-fluent-logger)[melihovv/laravel-log-viewer

A Laravel log viewer

1231.5k1](/packages/melihovv-laravel-log-viewer)[hosmelq/laravel-logsnag

Integrate the power of LogSnag's real-time event tracking into your Laravel application.

237.9k](/packages/hosmelq-laravel-logsnag)

PHPackages © 2026

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