Download the PHP package devtoygun/laravel-masterkey without Composer
On this page you can find all versions of the php package devtoygun/laravel-masterkey. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devtoygun/laravel-masterkey
More information about devtoygun/laravel-masterkey
Files in devtoygun/laravel-masterkey
Package laravel-masterkey
Short Description A master key package for laravel projects that bypasses session privileges.
License MIT
Informations about the package laravel-masterkey
Laravel MasterKey 🗝️
Laravel MasterKey is a lightweight utility designed for developers to maintain emergency access and bypass session-based privilege checks during development or maintenance phases. It provides a seamless way to authenticate as a super-admin using secure headers.
Key Features
- Header-Based Access: Authenticate instantly using a custom header.
- Global Gate Bypass: Automatically bypasses all
GateandPolicychecks for the master session. - Zero Configuration: Works out of the box with Laravel's auto-discovery.
- Stealth Mode: Minimal footprint in your application's route list or logs.
Installation
You can install the package via composer:
Usage
Add a new key named to your project's .ENV file.
The password you set for this key is your MASTER password.
After your project is completed, open any header editor tool and run it with these values:
After submitting the header, auth controls on the project will be bypassed and you will be considered logged in as admin.
!!!Attention!!!
By using this plugin you are assumed to be aware of:
- This is not a hacking tool or malicious software.
- This add-on is intended to log in with "developer" authority on the project during long-term technical support after project delivery.
- The user is responsible for using this plug-in for purposes other than its intended purpose; the plug-in developer cannot be held responsible for any data loss, legal liability or security vulnerabilities that may occur.
- Anyone using this plug-in must know and accept that this plug-in is publicly available and open source under the MIT license and that anyone can use it and access it by reverse engineering.
- Since this plugin is not malicious software or a hacking tool, there is no encryption or code obfuscation.
All versions of laravel-masterkey with dependencies
illuminate/support Version ^9.52|^10.0|^11.0
illuminate/http Version ^9.52|^10.0|^11.0
illuminate/auth Version ^9.52|^10.0|^11.0