PHP code example of repat / laravel-password-reset-model
1. Go to this page and download the library: Download repat/laravel-password-reset-model 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/ */
repat / laravel-password-reset-model example snippets
$passwordReset = \Repat\Laravel\PasswordReset::first();
// User
$passwordReset->email;
$passwordReset->user; // App\Models\User|null based on email, extend the relationship if you have a different FQCN
$passwordReset->token; // string
$passwordReset->created_at; // \Carbon\Carbon|null