PHPackages                             webmachine/logs - 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. webmachine/logs

ActiveLibrary

webmachine/logs
===============

Logs for Laravel 5

0343↓100%PHP

Since Mar 21Pushed 4y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Logs for Laravel 5
==================

[](#logs-for-laravel-5)

Install
-------

[](#install)

Via Composer

```
$ composer require webmachine/logs
```

Next, you must install the service provider and facade alias:

```
// config/app.php
'providers' => [
    ...
    Webmachine\Logs\LogsServiceProvider::class,
];

...

'aliases' => [
    ...
    'Logs' => Webmachine\Logs\LogsFacade::class,
];
```

Publish

```
$ php artisan vendor:publish --provider="Webmachine\Logs\LogsServiceProvider"
```

Usage
-----

[](#usage)

Add doer trait to user model

```
...
use Webmachine\Logs\Traits\LogDoer;

class User extends Model {
    use LogDoer;
    ...
}
```

Add traits to target models

```
...
use Webmachine\Logs\Traits\LogTarget;

class Foo extends Model {
    use LogTarget;
    ...
}
```

You can add a custom log description:

```
...
use Webmachine\Logs\LogsFacade as Logs;
...
public function storage() {
    ...
    Logs::setDescription('custom description');
    \App\Foo::create([...]);
}
```

License
-------

[](#license)

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

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity26

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/71db86d24b04a18c9016c8b517c9021df438cd3ad4a704bd5a5d2131ca58c1fc?d=identicon)[webmachine](/maintainers/webmachine)

---

Top Contributors

[![caacuna](https://avatars.githubusercontent.com/u/8000557?v=4)](https://github.com/caacuna "caacuna (9 commits)")

### Embed Badge

![Health badge](/badges/webmachine-logs/health.svg)

```
[![Health](https://phpackages.com/badges/webmachine-logs/health.svg)](https://phpackages.com/packages/webmachine-logs)
```

PHPackages © 2026

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