Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Auditlog Bundle Laravel Package

bbit/auditlog-bundle

View on GitHub
Deep Wiki
Context7

AuditLogBundle

SensioLabsInsight

AuditLogBundle is a simple bundle which provides you with a service which you can use to log stuff to the database.

Sort of like monolog, but using the db instead.

Step 1: Download AuditLogBundle using composer

Add BBITAuditLogBundle in your composer.json: (use the latest stable, NOT dev-master)

{
    "require": {
        "bbit/auditlog-bundle": "0.1",
    }
}

Now tell composer to download the bundle by running the command:

$ php composer.phar update bbit/auditlog-bundle

Composer will install the bundle to your project's vendor/BBIT directory.

Step 2: Enable the bundle

Enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new BBIT\AuditLogBundle\BBITAuditLogBundle(),
    );
}

Usage:

$logger = $this->get('bbit_audit_log.service'); // get logger service
$logger->log("type", "channel", "logmessage to be inserted");

todo: write tests and check code coverage

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui