PHP code example of managemize / laravel-fingerprints
1. Go to this page and download the library: Download managemize/laravel-fingerprints 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/ */
managemize / laravel-fingerprints example snippets
use HasFingerPrints;
protected array $userFingerPrintFields = [
'create' => 'created_by',
'update' => 'updated_by',
'delete' => 'deleted_by',
];
protected array $userFingerPrint = [
'create' => true, // false to deactivate
'update' => true, // false to deactivate
'delete' => true, // false to deactivate
];
bash
composer test
php artisan test