Skip to content

This is a Laravel Package , where you can send 6-digits unique password in users . See Docs :

Notifications You must be signed in to change notification settings

Ok9xNirab/laravel-reset-password

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

laravel-reset-password

issu Status Build Status folk Status contributions welcome

This is a Laravel Package , where you can send 6-digits unique password in users. These Package Can easily validate users email if its listed or not !!

Install

composer require nirab/reset-password

add these line in 'providers' array of config/app.php

nirab\resetpassword\ResetPasswordServiceProvider::class,

then , use these command to publish package config file (resetpassword.php) in config folder and email template in views folder .

php artisan vendor:publish

open to .env file on your project & also setup database & mail connection at first

Usage

add these line on top of your controller

use nirab\resetpassword\Models\UserResetPassword;

Then,

$resetpassword = new UserResetPassword();

echo $resetpassword->SendMail($email);

Note :

$email = Email of your users.

Customization

go to config/resetpassword.php. then you see ,

<?php
return [
    'msgSuccess' => 'A New Password Has Been Send to your Email !!',
    'msgError' => 'Email is not registered !!',
    'address' => 'mygmail@gmail.com',
    'name' => 'Reset Your Password :: Mysite.com'
];

About

This is a Laravel Package , where you can send 6-digits unique password in users . See Docs :

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published