PHPackages                             carolezountangni/log-supervisor - 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. carolezountangni/log-supervisor

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

carolezountangni/log-supervisor
===============================

Database logging of user logs in a Laravel application

0.0.3(2y ago)0102MITPHPPHP ^8.2.18

Since May 6Pushed 1y ago1 watchersCompare

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

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

LogSupervisor
=============

[](#logsupervisor)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4f67cce35f7d6df17446538ec52f7f906bedee154cda830c13aa46718db16a3f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6361726f6c657a6f756e74616e676e692f4c6f6753757065727669736f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/carolezountangni/LogSupervisor)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/70c884baa026620efb8a103b01221b2ae197d6891c0a69e41a2b07a09fc21c7e/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6361726f6c657a6f756e74616e676e692f4c6f6753757065727669736f722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/carolezountangni/LogSupervisor)[![Coverage Status](https://camo.githubusercontent.com/bde4a3ee21b8b330a9b178dc8d907e6dbee558a35fdfeb65b2e2fc179a642dad/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6361726f6c657a6f756e74616e676e692f4c6f6753757065727669736f722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/carolezountangni/LogSupervisor/code-structure)[![Quality Score](https://camo.githubusercontent.com/3b630ee4cb08e8f73c51077f61e7a8dc586d26070c9202d30e955b3a328a7ea3/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6361726f6c657a6f756e74616e676e692f4c6f6753757065727669736f722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/carolezountangni/LogSupervisor)[![Total Downloads](https://camo.githubusercontent.com/a6a7e5b9cfb543cc14659c2bb1f178b733ca6e0b4b982fce6bd7db1f3d712135/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6361726f6c657a6f756e74616e676e692f4c6f6753757065727669736f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/carolezountangni/LogSupervisor)

Database logging of user logs in a Laravel application

Structure
---------

[](#structure)

If any of the following are applicable to your project, then the directory structure should follow industry best practices by being named the following.

```
bin/
build/
docs/
config/
src/
tests/
vendor/

```

Install
-------

[](#install)

Via Composer

```
 composer require carolezountangni/log-supervisor
```

Setup Migrations and Model
==========================

[](#setup-migrations-and-model)

### Dans votre fichier config/app.php, ajoutez le service provider dans le tableau providers :

[](#dans-votre-fichier-configappphp-ajoutez-le--service-provider-dans-le-tableau-providers-)

```
'providers' => [
    // ...
    carolezountangni\LogSupervisor\LogSupervisorServiceProvider::class,

],
```

### Dans votre fichier app/Http/Kernel.php, ajoutez le middleware comme ceci :

[](#dans-votre-fichier-apphttpkernelphp-ajoutez-le-middleware-comme-ceci-)

```
 protected $middleware = [
        //
        \carolezountangni\LogSupervisor\Http\Middleware\Activity::class,
    ];
```

### Publier les migrations et le fichier de configuration

[](#publier-les-migrations-et-le-fichier-de-configuration)

```
php artisan vendor:publish --tag=migrations-ls
php artisan vendor:publish --tag=config-ls
php artisan migrate
php artisan vendor:publish --tag=public-ls
```

Affichage des logs au niveau d'une liste d'utilisateurs que vous avez créée par le biais d'un bouton.
-----------------------------------------------------------------------------------------------------

[](#affichage-des-logs-au-niveau-dune-liste-dutilisateurs-que-vous-avez-créée-par-le-biais-dun-bouton)

### Votre table d'utilisateur dit s'appeler "User" obligatoirement

[](#votre-table-dutilisateur-dit-sappeler-user-obligatoirement)

```
Logs
```

Gérer les middleware et le prefix des routes du package.
--------------------------------------------------------

[](#gérer-les-middleware-et-le-prefix-des-routes-du-package)

```
MY_PACKAGE_PREFIX=prefix-personnalise
MY_PACKAGE_MIDDLEWARES=middleware1,middleware2
```

### Accès aux vues du package

[](#accès-aux-vues-du-package)

Once the installation is complete, you will be able to access **Log Supervisor** directly in your browser.

By default, the application is available at: `{APP_URL}/log-supervisor` or `{APP_URL}/MY_PACKAGE_PREFIX`.

(for example: `https://my-app.test/log-supervisor`)

Change log
----------

[](#change-log)

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

Testing
-------

[](#testing)

```
 composer test
```

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

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

Credits
-------

[](#credits)

- [Carole Zountangni](https://github.com/carolezountangni)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Unknown

Total

1

Last Release

736d ago

### Community

Maintainers

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

---

Top Contributors

[![carolezountangni](https://avatars.githubusercontent.com/u/72141787?v=4)](https://github.com/carolezountangni "carolezountangni (133 commits)")[![philsturgeon](https://avatars.githubusercontent.com/u/67381?v=4)](https://github.com/philsturgeon "philsturgeon (49 commits)")[![frankdejonge](https://avatars.githubusercontent.com/u/534693?v=4)](https://github.com/frankdejonge "frankdejonge (38 commits)")[![ravage84](https://avatars.githubusercontent.com/u/625761?v=4)](https://github.com/ravage84 "ravage84 (10 commits)")[![gmponos](https://avatars.githubusercontent.com/u/5675248?v=4)](https://github.com/gmponos "gmponos (10 commits)")[![jotaelesalinas](https://avatars.githubusercontent.com/u/2042875?v=4)](https://github.com/jotaelesalinas "jotaelesalinas (8 commits)")[![RobLoach](https://avatars.githubusercontent.com/u/25086?v=4)](https://github.com/RobLoach "RobLoach (7 commits)")[![colinodell](https://avatars.githubusercontent.com/u/202034?v=4)](https://github.com/colinodell "colinodell (7 commits)")[![hansott](https://avatars.githubusercontent.com/u/3886384?v=4)](https://github.com/hansott "hansott (7 commits)")[![browner12](https://avatars.githubusercontent.com/u/5232313?v=4)](https://github.com/browner12 "browner12 (5 commits)")[![EmanueleMinotto](https://avatars.githubusercontent.com/u/417201?v=4)](https://github.com/EmanueleMinotto "EmanueleMinotto (5 commits)")[![reinink](https://avatars.githubusercontent.com/u/882133?v=4)](https://github.com/reinink "reinink (5 commits)")[![bcrowe](https://avatars.githubusercontent.com/u/752603?v=4)](https://github.com/bcrowe "bcrowe (5 commits)")[![marcqualie](https://avatars.githubusercontent.com/u/101022?v=4)](https://github.com/marcqualie "marcqualie (4 commits)")[![hassankhan](https://avatars.githubusercontent.com/u/1781985?v=4)](https://github.com/hassankhan "hassankhan (3 commits)")[![fulldecent](https://avatars.githubusercontent.com/u/382183?v=4)](https://github.com/fulldecent "fulldecent (3 commits)")[![jclyons52](https://avatars.githubusercontent.com/u/6395559?v=4)](https://github.com/jclyons52 "jclyons52 (3 commits)")[![kdubuc](https://avatars.githubusercontent.com/u/895661?v=4)](https://github.com/kdubuc "kdubuc (2 commits)")[![alexbilbie](https://avatars.githubusercontent.com/u/77991?v=4)](https://github.com/alexbilbie "alexbilbie (2 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (2 commits)")

---

Tags

carolezountangniLogSupervisor

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/carolezountangni-log-supervisor/health.svg)

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

###  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)
