larakuy / log-activity
Simple save log activity helper.
0.1
2017-07-24 08:32 UTC
Requires
- php: ^7.0
This package is not auto-updated.
Last update: 2024-10-27 04:54:00 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()