New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

repat/laravel-password-reset-model

Eloquent Model for the password_resets table
9,260 1
Install
composer require repat/laravel-password-reset-model
Latest Version:0.4
PHP:>=7.4
Laravel:7 – 11
License:MIT
Last Updated:Apr 2, 2024
Links: GitHub  ·  Packagist
Maintainer: repat

laravel-password-reset-model

Latest Version on Packagist Total Downloads

laravel-password-reset-model contains an Eloquent model for the password_resets table as created by the default Larvel installation.

Installation

$ composer require repat/laravel-password-reset-model

Documentation

All fields are fillable ($guarded = []).

Relationship / Attributes

If you've kept the standard FQCN for Laravels User Model (\App\Model\User::class) you can use the ->user relationship or extend this model and override the user() method.

$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

License

Version

  • Version 0.4

Contact

repat

Flattr this git repo

Related Packages

laravellegends/interactive-model

This library is helpful to record data in the Eloquent models interactively via...

8,521 1
repat/laravel-database-session-model

Eloquent Model for the sessions table as created by artisan session:table

11,542 1
repat/laravel-migration-model

Eloquent Model for the migrations table

4,095 1
jenssegers/model

An Laravel eloquent-like model class, for Laravel and other frameworks

4,754,764 394
cerbero/eloquent-inspector

Inspect Laravel Eloquent models to collect properties, relationships and more.

55,035 112

Version History

Version Released PHP Laravel License
0.4 >=7.4 ^7.0|^8.0|^9.0|^10.0|^11.0 MIT
0.3 >=7.4 ^7.0|^8.0|^9.0|^10.0 MIT
0.2 >=7.4 ^7.0|^8.0|^9.0 MIT
0.1.1 >=7.4 ^7.0|^8.0 MIT
0.1 >=7.4 ^7.0|^8.0 MIT