global-devteam / laravel-api-password-reset
This package implements password reset for APIs
Installs: 44
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 6
pkg:composer/global-devteam/laravel-api-password-reset
Requires
- guzzlehttp/guzzle: ^6.5
This package is auto-updated.
Last update: 2025-11-21 22:33:58 UTC
README
Easy laravel api password reset for your application
- Run
composer require global-devteam/laravel-api-password-reset - Run
php artisan vendor:publish --tag=laravel-api-password-recovery - Run
php artisan migrate - Run
php artisan route:list | grep passwordto see new routes
This package relies on the User.php and it should be at the default location.
POST
api/v1/auth/password
payload:
{
"email":"user@email.com"
}
This endpoint sends an email to the user so you must have your email server setup
GET
api/v1/auth/password/show/{token}
This endpoint validates the token and it is valid you will get the token object otherwise an invalid message will be returned
DELETE
api/v1/auth/password
payload:
{
"email":"user@email.com",
"password":"secret",
"password_confirmation":"secret",
"token": "k8sgO6"
}
This endpoint changes the password and sends an email to the user so you must have your email server setup