PHP code example of zoparga / laravel-audit-log

1. Go to this page and download the library: Download zoparga/laravel-audit-log 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/ */

    

zoparga / laravel-audit-log example snippets


return [
];

$auditLog = new zoparga\AuditLog();
echo $auditLog->echoPhrase('Hello, zoparga!');
bash
php artisan vendor:publish --tag="auditlog-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="auditlog-config"
bash
php artisan vendor:publish --tag="auditlog-views"