iftekhar / password-change-notification
A simple package for send email when password is change
1.0.1
2022-09-23 16:44 UTC
Requires
- php: ^8.1
- illuminate/contracts: ^9.0
- spatie/laravel-package-tools: ^1.13.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^6.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-06-21 05:00:46 UTC
README
This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
composer require iftekhar/password-change-notification "^1.0.1"
you can change everythink you want here example below
1.For Email Class
public function passwordChangeNotificationMail(): Mailable { // Mail Class return new SendEmailFor(); }
- The columns will send email when it changes
public function passwordColumnsName(): string { return 'password'; }
- User Email Columns
public function emailColumnsName(): string { return 'email'; }
- If you want queue mail here this code
public function passwordChangeShouldBeQueue(): bool { return true; }
Optionally, you can publish the views using
php artisan vendor:publish --tag="password-change-email-views"
Usage
$passwordChangeEmail = new Iftekhar\PasswordChangeEmail(); echo $passwordChangeEmail->echoPhrase('Hello, Iftekhar!');
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.