PHP code example of nestboxphp / titmouse

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

    

nestboxphp / titmouse example snippets


$tm->register_user(array $userData, string $password): bool

$tm->select_user(string $user): array

$tm->login_user(string $user, string $password, bool $loadToSession = true): array

$tm->update_user(string $user, array $userData): int

$tm->load_user_session(array $userData): void

$tm->logout_user(): void

$tm->verify_email(): bool

$tm->change_password(string $user, string $newPassword): bool