larakuy/log-activity

Simple save log activity helper.

0.1 2017-07-24 08:32 UTC

This package is not auto-updated.

Last update: 2024-11-10 05:08:56 UTC


README

Simple save log activity helper.

Package Laravel yang berfungsi untuk menyimpan log aktivitas ke dalam database. Diambil dari itsolutionstuff.

Instalasi

Install dan Daftarkan Package

composer require larakuy/log-activity

Tambahkan Service Provider dan Facade pada config.app

'providers' => [

    Larakuy\LogActivity\LogActivityServiceProvider::class

]
'aliases' => [

    'LogActivity' => Larakuy\LogActivity\Facades\LogActivity::class

]

Jalankan Migration

php artisan migrate

Penggunaan

LogActivity::addLog($subject)
LogActivity::listLog()