Helps you set a master password in .env file and login into all user accounts with it.
Switch branches/tags
Nothing to show
Clone or download
Latest commit 457576d Nov 28, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Change the config label to lowercase May 30, 2018
tests initial commit May 17, 2018
.gitignore Initial commit May 16, 2018
LICENSE Initial commit May 16, 2018 Update Nov 28, 2018
composer.json fixing description May 17, 2018

Laravel Master Pass


Latest Stable Version Quality Score Build Status Total Downloads

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:


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


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 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.

💎 Authorization and ACL is now very easy with hey-man package !!!