Skip to content

Helps you set a master password in .env file and login into all user accounts with that.

License

Notifications You must be signed in to change notification settings

rubythonode/laravel-MasterPass

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel Master Pass

anypass_header

Built with ❤️ for every smart laravel developer

Helps you set a master password in .env file and login into any account with that, to impersonate your users.

This means that each account will have 2 valid passwords. The original one and the master password.

🔥 Installation

composer require imanghafoori/laravel-masterpass

Then optionally:

php artisan vendor:publish --tag=master_password

🔧 Config

The only thing you should do is to put your master password in the .env (or config/master_password.php) file:

MASTER_PASSWORD=mySecretMasterPass

Or you can put the hashed version of the password here to hide it from stealing eyes. 👀

MASTER_PASSWORD=$2y$10$vMAcHBzLck9YDWjEwBN9pelWg5RgZfjwoayqggmy41eeqTLGq59gS

both of the options will work just fine.

  • If MASTER_PASSWORD is not present in .env (or config/master_password.php) file, this package will be totally disabled and will do nothing.

⚠️ Warning

  • Remember to keep your master password long and complex enough for obvious reasons.

❗ Security

If you discover any security related issues, please email imanghafoori1@gmail.com instead of using the issue tracker.

⭐ Your Stars Make Us Do More ⭐

As always if you found this package useful and you want to encourage us to maintain and work on it, Please press the star button to declare your willing.

More packages from the author:

💎 A minimal yet powerful package to give you opportunity to refactor your controllers.


💎 A minimal yet powerful package to give a better structure and caching opportunity for your laravel apps.


💎 It allows you login with any password in local environment only.

About

Helps you set a master password in .env file and login into all user accounts with that.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%