PHP code example of munkireport / user_sessions

1. Go to this page and download the library: Download munkireport/user_sessions 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/ */

    

munkireport / user_sessions example snippets


user_sessions_save_remote_ssh=TRUE;
user_sessions_save_login=TRUE;
user_sessions_save_logout=TRUE;
user_sessions_save_reboot=TRUE;
user_sessions_save_shutdown=TRUE;
user_sessions_keep_historical=TRUE;
user_sessions_unique_users_only=FALSE;