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

Related tags

Logging laralogs
Overview

Laralogs

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

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads


Installation

You can install the package via composer:

composer require wremon/laralogs

Configuration

After installing, publish the config using the command below:

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

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"

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

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

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

You might also like...
Simple PHP Logger. Composer package

Basic PHP Logger 📝 Simple logger. Composer package.

AcLog is a simple, zero-dependency PHP package to log activity to files

AcLog is a simple, zero-dependency PHP package to log activity to files. This is not meant for logging errors, this is can be used for logging c

Keep your laravel logs small and tidy.

Logs can get quite out of hand. This package helps save server space and keep your Laravel log files small.

A simple database logger for all outgoing emails sent by Laravel website.

Laravel Email Database Log A simple database logger for all outgoing emails sent by Laravel website.

A simple and beautiful laravel log reader
A simple and beautiful laravel log reader

Laravel Log Reader A simple and beautiful laravel log reader Documentation Get full documentation of Laravel Log Reader Other Packages Laravel H - A h

📑 Laravel HTTP Logger
📑 Laravel HTTP Logger

Logging incoming HTTP requests

This Plugin is used to install and activate multiple plugins in one go. I was facing problem uploading plugins one by one so I developed this to solve my problem. Hope you will enjoy using this plugin.

=== Bulk Plugin Installer === Contributors: jawadarshad Donate link: https://jawadarshad.io/ Tags: bulk plugin installer, import multiple plugins, up

📦 This is a repository of centralized management of all swoft core components

Swoft Component This repository is used to manage all swoft core components. 中文说明 中文说明请查看 README.zh-CN.md IMPORTANT All components will NOT be modifie

Centralized dashboard to monitor various WordPress components, stats and data, including the server.
Centralized dashboard to monitor various WordPress components, stats and data, including the server.

Centralized dashboard to monitor various WordPress components, stats and data, including the server.

The package provides the ability to write logs into the database synchronously or asynchronously, along with other logging channels.

Laravel database log channel The package provides the ability to write logs into the database synchronously or asynchronously, along with other loggin

Best logging support into Nette Framework (@nette)
Best logging support into Nette Framework (@nette)

Website 🚀 contributte.org | Contact 👨🏻‍💻 f3l1x.io | Twitter 🐦 @contributte Usage To install the latest version of contributte/monolog use Compose

High-performance API performing logging for PHP applications into files or SysLog

Logging API Table of contents: About Configuration Binding Points Logging Installation Unit Tests Reference Guide Specifications How Are Log Lines For

Laravel package to search through multiple Eloquent models. Supports sorting, pagination, scoped queries, eager load relationships and searching through single or multiple columns.

Laravel Cross Eloquent Search This Laravel package allows you to search through multiple Eloquent models. It supports sorting, pagination, scoped quer

A kernel designed to run one and only one application in a virtualized environment
A kernel designed to run one and only one application in a virtualized environment

nanos Nanos is a new kernel designed to run one and only one application in a virtualized environment. It has several constraints on it compared to a

This package adds support for verifying new email addresses: when a user updates its email address, it won't replace the old one until the new one is verified.

Laravel Verify New Email Laravel supports verifying email addresses out of the box. This package adds support for verifying new email addresses. When

This package adds support for verifying new email addresses: when a user updates its email address, it won't replace the old one until the new one is verified.

Laravel Verify New Email Laravel supports verifying email addresses out of the box. This package adds support for verifying new email addresses. When

Application for logging HTTP and DNS Requests

Request Logger Made by Adam Langley ( https://twitter.com/adamtlangley ) What is it? Request logger is a free and open source utility for logging HTTP

Emoncms is an open-source web application for processing, logging and visualising energy, temperature and other environmental data and is part of the OpenEnergyMonitor project.
Emoncms is an open-source web application for processing, logging and visualising energy, temperature and other environmental data and is part of the OpenEnergyMonitor project.

Emoncms is an open-source web application for processing, logging and visualising energy, temperature and other environmental data and is part of the OpenEnergyMonitor project.

An object-oriented option parser library for PHP, which supports type constraints, flag, multiple flag, multiple values, required value checking

GetOptionKit Code Quality Versions & Stats A powerful option parser toolkit for PHP, supporting type constraints, flag, multiple flag, multiple values

Releases(v1.0.1)
  • v1.0.1(Nov 12, 2022)

    What's Changed

    • fix: fix issue on log auth attempt by @jidago in https://github.com/wremon/laralogs/pull/12

    New Contributors

    • @jidago made their first contribution in https://github.com/wremon/laralogs/pull/12

    Full Changelog: https://github.com/wremon/laralogs/compare/v1.0.0...v1.0.1

    Source code(tar.gz)
    Source code(zip)
  • v1.0.0(Nov 12, 2022)

    What's Changed

    • Fix Login Attempt bug by @jiwom in https://github.com/wremon/laralogs/pull/2
    • Make user model configurable by @reyvhernandez in https://github.com/wremon/laralogs/pull/4
    • Add Laravel 7 compatibility by @reyvhernandez in https://github.com/wremon/laralogs/pull/3
    • Fix composer php requirement version by @jiwom in https://github.com/wremon/laralogs/pull/7
    • Update Handle Method for user id verification and N+1 by @throwexceptions in https://github.com/wremon/laralogs/pull/8
    • Update shorhand calls, Doc block update, MorphTo Type Hint and addLog Syntax Error by @throwexceptions in https://github.com/wremon/laralogs/pull/9
    • Create CONTRIBUTING.md by @LeFaerie in https://github.com/wremon/laralogs/pull/10
    • Add conduct by @jeanne007 in https://github.com/wremon/laralogs/pull/11

    New Contributors

    • @jiwom made their first contribution in https://github.com/wremon/laralogs/pull/2
    • @reyvhernandez made their first contribution in https://github.com/wremon/laralogs/pull/4
    • @throwexceptions made their first contribution in https://github.com/wremon/laralogs/pull/8
    • @LeFaerie made their first contribution in https://github.com/wremon/laralogs/pull/10
    • @jeanne007 made their first contribution in https://github.com/wremon/laralogs/pull/11

    Full Changelog: https://github.com/wremon/laralogs/commits/v1.0.0

    Source code(tar.gz)
    Source code(zip)
Owner
Remon
Remon
A Simple Logging Class For PHP

KLogger: Simple Logging for PHP A project written by Kenny Katzgrau and Dan Horrigan. About KLogger is an easy-to-use PSR-3 compliant logging class fo

Kenny Katzgrau 964 Dec 11, 2022
PHP logging library that is highly extendable and simple to use.

Analog - Minimal PHP logging library Copyright: (c) 2012-Present Johnny Broadway License: MIT A minimal PHP logging package based on the idea of using

Aband*nthecar 331 Dec 21, 2022
🐣 Backend-Logging aller Aktionen im Backend

Addon BE_Logger - Backend-Logging Mit dem Addon be_logger können die Backend-Zugriffe aller Benutzer in einer Logging-Tabelle ausgegeben werden. Es gi

Friends Of REDAXO 14 Sep 12, 2022
RadPHP Logging Component

RadPHP Logging Component The Logging library provides multiple logging adapters using a simple interface. With the Logger class it is possible to send

RadPHP 9 Sep 8, 2021
Monolog logging support for Slim Framework

Monolog Logging for Slim Framework This repository adds support for logging to Monolog to the Slim Framework. Installation MonologWriter takes an arra

null 113 Dec 18, 2022
DatabaseLog CakePHP plugin to log into DB instead of files. Better to filter and search.

CakePHP DatabaseLog Plugin DatabaseLog engine for CakePHP applications. This branch is for CakePHP 4.0+. See version map for details. Features Easy se

Mark Sch. 41 Jul 29, 2022
Laravel logger is an activity event logger for your Laravel or Lumen application

Laravel logger is an activity event logger for your Laravel or Lumen application. It comes out the box with ready to use with dashboard to view your activity. Laravel logger can be added as a middleware or called through a trait. Easily have an Activity Log. This package is easily configurable and customizable. Supports Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6, and 7+

Jeremy Kenedy 475 Dec 22, 2022
Log Laravel application request and response with a unique ID for easy debugging

Flexible and extendable logging of Laravel application request and responses Zero configuration logging of Requests and Responses to database or custo

Bilfeldt 37 Nov 6, 2022
Small package that can helps in debugging with API logs for Laravel Project.

Rest APIs Logger This is a small package that can helps in debugging with API logs. Installation Install the package via composer composer require tfs

Sunny Mahajan 7 Aug 31, 2022
Small laravel package for viewing api logs which can be used in debugging.

This is a small package that can helps in debugging api logs. It can log request method, url, duration, request payload, which models are retrieved, controller and method.

awt 334 Jan 6, 2023