PHP code example of xbnz / laravel-auditable-users
1. Go to this page and download the library: Download xbnz/laravel-auditable-users 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/ */
xbnz / laravel-auditable-users example snippets
bash
composer vendor:publish --provider="XbNz\LaravelAuditableUsers\AuditableServiceProvider"
cat "AUDITABLE_USERS_REDIRECT_AFTER_LOGIN={your_desired_route}" >> .env
cat "AUTH_MODEL=XbNz\\LaravelAuditableUsers\\Projections\\User" >> .env
php artisan migrate
bash
php artisan route:list