DEV Community

Discussion on: Reading Passwords from STDIN in PHP

Collapse
 
mykeels profile image
Backlog Slayer

A friend just pointed out that Laravel's artisan commands already come with the $this->secret($prompt) method, to retrieve passwords from STDIN. 😂

This article aged real fast!

Collapse
 
programster_uk profile image
Programster

Yes but this is still useful as not all PHP applications are written using Laravel, just as not all things that use Javascript use jQuery.
Thanks.