1. Go to this page and download the library: Download rasuvaeff/yii3-audit-log-db library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
rasuvaeff / yii3-audit-log-db example snippets
// Register the migration in your migration runner:
// migrations/M260620000000CreateAuditLogTable.php
// from vendor/rasuvaeff/yii3-audit-log-db/migrations/
// config/common/di/clock.php
use Psr\Clock\ClockInterface;
return [
ClockInterface::class => MySystemClock::class,
];