PHPackages                             wremon/laralogs - 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. wremon/laralogs

ActiveLibrary

wremon/laralogs
===============

This is my package laralogs

v2.0.0(2y ago)410.9k—2.6%7[1 PRs](https://github.com/wremon/laralogs/pulls)MITPHPPHP ^7.4|^8.2

Since Oct 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/wremon/laralogs)[ Packagist](https://packagist.org/packages/wremon/laralogs)[ Docs](https://github.com/wremon/laralogs)[ GitHub Sponsors](https://github.com/wremon)[ RSS](/packages/wremon-laralogs/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (9)Versions (5)Used By (0)

Laralogs
========

[](#laralogs)

This package is for centralized logging of multiple Laravel application into one connection.

[![Latest Version on Packagist](https://camo.githubusercontent.com/9d2198ae48b025b98eaa288bdcb56fa4087372970c72404aabdf2a37e3cc484e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7772656d6f6e2f6c6172616c6f67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wremon/laralogs)[![GitHub Tests Action Status](https://camo.githubusercontent.com/75d2f322603212fb41fbed1aca48d9c5ead0dd8b75a0220be4d5da4645f9bc99/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7772656d6f6e2f6c6172616c6f67732f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/wremon/laralogs/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/4d73826439c2447990c6f188fcba8a5e1ebf3bb06649e067cbf58e7e4fe2c148/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f7772656d6f6e2f6c6172616c6f67732f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/wremon/laralogs/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/fc5d9f72165dfb8e5af5d612dec6912cd79c5b8ccfee1a1b407b6a7354d420aa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7772656d6f6e2f6c6172616c6f67732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/wremon/laralogs)

---

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

[](#installation)

You can install the package via composer:

```
composer require wremon/laralogs
```

### Configuration

[](#configuration)

After installing, publish the config using the command below:

```
php artisan vendor:publish --provider="Wremon\Laralogs\LaralogsServiceProvider"
```

### Set Up .env

[](#set-up-env)

```
LARALOGS_DB_CONNECTION=sqlite
LARALOGS_DB_HOST=
LARALOGS_DB_PORT=
LARALOGS_DB_DATABASE=
LARALOGS_DB_USERNAME=
LARALOGS_DB_PASSWORD=
LARALOGS_DB_DATABASE="/Users/username/www/my-project/database/database.sqlite"
LARALOGS_APP_NAME="My App Name"
LARALOGS_USER_MODEL="\App\Models\User"
LARALOGS_USER_COLUMN="email"

```

The `LARALOGS_APP_NAME` determines the name of the application in the logging table.

User Model
----------

[](#user-model)

Include Laralogs to your User.php model.

```
use Wremon\Laralogs\Loggable;

use Loggable;

```

Usage
-----

[](#usage)

Get all the authentication logs of a user

```
User::find(1)->logs

```

Get the last authentication logs of a user

```
User::find(1)->lastLogin()
User::find(1)->lastLoginIp()

```

Get the previous authentication logs of a user

```
User::find(1)->previousLogin()
User::find(1)->previousLoginIp()

```

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)

- [Remon Lumapas](https://github.com/wremon)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

Every ~232 days

Total

3

Last Release

851d ago

Major Versions

v1.0.1 → v2.0.02024-01-19

PHP version history (2 changes)v1.0.0PHP ^7.4|^8.0

v2.0.0PHP ^7.4|^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/26e95b4ba867e5cc3a153d845f54bd778d8ff6493178a277cab994f8b662b5fe?d=identicon)[wremon](/maintainers/wremon)

---

Top Contributors

[![wremon](https://avatars.githubusercontent.com/u/6497046?v=4)](https://github.com/wremon "wremon (18 commits)")[![wremon-yo](https://avatars.githubusercontent.com/u/174759679?v=4)](https://github.com/wremon-yo "wremon-yo (17 commits)")[![reyvhernandez](https://avatars.githubusercontent.com/u/4083367?v=4)](https://github.com/reyvhernandez "reyvhernandez (4 commits)")[![jsarmientoOB](https://avatars.githubusercontent.com/u/197703267?v=4)](https://github.com/jsarmientoOB "jsarmientoOB (3 commits)")[![LeFaerie](https://avatars.githubusercontent.com/u/65151835?v=4)](https://github.com/LeFaerie "LeFaerie (1 commits)")[![jidago](https://avatars.githubusercontent.com/u/56063120?v=4)](https://github.com/jidago "jidago (1 commits)")[![jeanne007](https://avatars.githubusercontent.com/u/33174386?v=4)](https://github.com/jeanne007 "jeanne007 (1 commits)")

---

Tags

hacktoberfesthacktoberfest-accpetedhacktoberst2021laravelwremonlaralogs

###  Code Quality

TestsPest

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wremon-laralogs/health.svg)

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

###  Alternatives

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[musahmusah/laravel-multipayment-gateways

A Laravel Package that makes implementation of multiple payment Gateways endpoints and webhooks seamless

852.2k1](/packages/musahmusah-laravel-multipayment-gateways)

PHPackages © 2026

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