PHPackages                             metalcoder/logsifier - 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. metalcoder/logsifier

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

metalcoder/logsifier
====================

Package to manage application logs

029PHP

Since Oct 23Pushed 9y agoCompare

[ Source](https://github.com/metalc0der/logsifier)[ Packagist](https://packagist.org/packages/metalcoder/logsifier)[ RSS](/packages/metalcoder-logsifier/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Synopsis
--------

[](#synopsis)

Package to manage application logs.

Code Example
------------

[](#code-example)

Just use the Facade Logsifier to call any method.

Logsifier::store('192.168.1.1','users','1','New user created','Users module')

Don't forget this line at the begining of your file:

use Metalcoder/Logsifier/Logsifier;

Motivation
----------

[](#motivation)

I've been involved in several projects where is required to have some sort of log manipulation. I decided to create my own package first of all to introduce myself in package development and also to use it on my future projects.

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

[](#installation)

Install via composer:

1. Add the line "metalcoder/logsifier": "master-dev" to your app main composer in the require section.
2. Make composer update
3. Make php artisan migrate --path=vendor/metalcoder/logsifier/src/migrations to run the package migration in charge of the creation of log table.
4. Go to config/app.php in your app and add Metalcoder\\Logsifier\\MetalcoderLogsifierServiceProvider::class, to the providers section.
5. In config/app.php add 'Logsifier' =&gt; Metalcoder\\Logsifier\\Logsifier::class, to the aliases section.
6. In config/app.php add Maatwebsite\\Excel\\ExcelServiceProvider::class, to the providers section.
7. In config/app.php add 'Excel' =&gt; Maatwebsite\\Excel\\Facades\\Excel::class, to the aliases section.
8. Make php artisan vendor:publish
9. Now you are ready to go.

API Reference
-------------

[](#api-reference)

The package exposes 4 methods (at the time) to help with the log of relevant events in any laravel application.

/\* Method to store a log entry in the database

- Parameters: $ip : IP of the request
- ```
      	        $object : Name of the database table the event is using

    ```
- ```
            $object_id : id of the element the event is using

    ```
- ```
                $description : Short descripcion of the event.

    ```
- ```
            $source : Name of the application module that triggered the event

    ```
- ```
            $urgent : If entry is marked as urgent an email will be sent to the recipients listed in config/logsifier.php

    ```

\*/ Logsifier::store($ip,$object,$object\_id,$description,$source,$urgent)

/\* Method to show all the log entries \* \*/ Logsifier::index()

/\* Method to export to a CSV file all the log entries \* \*/ Logsifier::exportCSV()

/\* Method to export all entries to a CSV file and empty the log table. \* \*/ Logsifier::rotate()

License
-------

[](#license)

GNU GENERAL PUBLIC LICENSE

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

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

---

Top Contributors

[![metalc0der](https://avatars.githubusercontent.com/u/22899783?v=4)](https://github.com/metalc0der "metalc0der (24 commits)")[![yunior2016](https://avatars.githubusercontent.com/u/18146466?v=4)](https://github.com/yunior2016 "yunior2016 (6 commits)")

### Embed Badge

![Health badge](/badges/metalcoder-logsifier/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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