Category: Laravel, PHP

Yesterday, my client asked me how to change his user password to login into the Admin Dashboard. Since that is not my current scope of work and not my responsibility to build Change Password Feature (although it was a simple task), I decide to help my clients to change his user password via Terminal with built in Laravel powerful REPL called Tinker!

Here’s what I do to change my client user password via Terminal: You will now entering the Laravel console.

In my case, here’s the result: Next, type the following command to change user password with the new desire password (eg: new_password): To save the newly created password, type this following command: Voila!

Probably this is a very simple tip, but it is useful when you want to change user password via terminal with the powerful Laravel Tinker command.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners