New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

vcian/pulse-mysql-db-auditor

A Laravel Pulse card show database auditing
1,635 2
Install
composer require vcian/pulse-mysql-db-auditor
Latest Version:v1.0.0
PHP:^8.1
Laravel:4 – 10
License:MIT
Last Updated:Jan 8, 2024
Links: GitHub  ·  Packagist
Maintainer: vcian

Packagist Downloads

Pulse MySql DB Auditor

About

This card will Audit your mysql database and give the information about standards and constraints.

Installation


Please check the official laravel installation guide for server requirements before you start. [Official Documentation]

Require the package with Composer:

composer require vcian/pulse-mysql-db-auditor

Next, you should publish the Pulse configuration and migration files using the vendor:publish Artisan command:

php artisan vendor:publish --provider="Laravel\Pulse\PulseServiceProvider"

Next, you should run the migration for required tables

php artisan migrate

Register the recorder

Right now, the Composer dependencies will only be checked once per day. To run the checks you must add the PulseMysqlDBAudtiorRecorder to the pulse.php file.

return [
    // ...

    'recorders' => [
+        \Vcian\Pulse\PulseMysqlDBAuditor\Recorders\PulseMysqlDBAuditorRecorder::class => [],
    ]
]

You also need to be running the pulse:check command.

Add to your dashboard

To add the card to the Pulse dashboard, you must first [publish the vendor view]

Then, you can modify the dashboard.blade.php file:

<x-pulse>
    <livewire:pulse.servers cols="full" />

    <livewire:pulse.usage cols="4" rows="2" />

    <livewire:pulse.queues cols="4" />

    <livewire:pulse.cache cols="4" />

    <livewire:pulse.slow-queries cols="8" />

    <livewire:pulse.exceptions cols="6" />

    <livewire:pulse.slow-requests cols="6" />

    <livewire:pulse.slow-jobs cols="6" />

    <livewire:pulse.slow-outgoing-requests cols="6" />

+     <livewire:pulse_db_auditor cols='full' />
</x-pulse>
Mysql DB Auditor Card

To make pulse recorders will automatically capture entries based on framework events dispatched by Laravel, You must run the below command.

php artisan pulse:check

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

   We believe in
        👇
      ACT NOW
  PERFECT IT LATER
CORRECT IT ON THE WAY.

Security

If you discover any security-related issues, please email ruchit.patel@viitor.cloud instead of using the issue tracker.

Credits

License

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

Related Packages

geowrgetudor/disk-metrics

Monitor disk size, file & directory count for Laravel Pulse

57,405 21
geowrgetudor/404-monitor

Monitor 404 pages within Laravel Pulse

38,840 28
geowrgetudor/command-history

Track Laravel Artisan commands executions inside Laravel Pulse

25,292 13
rahimi-ali/pulse-slow-mongo-queries

A Laravel Pulse card for slow MongoDB queries

4,319 2
ebergsma/404-monitor

Monitor 404 pages within Laravel Pulse

1,592 0

Version History

Version Released PHP Laravel License
v1.0.0 ^8.1 * MIT