PHP code example of mnarushevich / laravel-audit-logs

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

    

mnarushevich / laravel-audit-logs example snippets


use MNarushevich\AuditLogs\Traits\HasAuditLogs;
bash
php artisan vendor:publish --provider="MNarushevich\AuditLogs\AuditLogsServiceProvider" --tag="migrations"
bash
php artisan vendor:publish --provider="MNarushevich\AuditLogs\AuditLogsServiceProvider" --tag="config"
bash
php artisan migrate