amirhossein256/log-activity

this is simple logActivity package for use in laravel

1.0.1 2022-03-27 06:50 UTC

This package is auto-updated.

Last update: 2024-10-28 10:26:33 UTC


README

save log activity for you !

This is an educational project !

Installation

Use the package manager composer to install foobar.

composer require amirhossein256/log-activity

Add ServiceProviders in 'config/app.php'

Amirhossein256\LogActivity\LogActivityServiceProvider::class

Run package Migrations :

php artisan migrate 

Use Facade :

use Amirhossein256\LogActivity\Facades\LogActivity as LogFacad;


LogFacad::info($user_id, $status, $payload, $response);

or

Create New Instance :

use Amirhossein256\LogActivity\LogActivity;

$instance = new LogActivity();
$instance->info();
$instance->alert();
$instance->error();

get report Log in gui

127.0.0.1:8000/report

enjoy greenWeb Camp :))