playa / laravel-password-lock
Password lockdown Laravel Site
Installs: 869
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: >=5.5.9
- laravel/framework: >=5.5.0
This package is not auto-updated.
Last update: 2025-08-21 21:30:31 UTC
README
Laravel Password Lock is a middleware for locking the route from the public.
Usage
Run composer require playa/laravel-password-lock
and
add the middleware \Playa\PasswordLock\PasswordLockMiddleware::class
to your kernel.php.
If you want to lock down the whole site, you can add the middleware to $middlewareGroups
, or
add the middleware to the specific route you need to lock down.
Config
Run php artisan vendor publish
to get the playa-password-lock.php
in config folder. Available settings
is as follow:
- invite_password: the password for unlocking the site
- client_logo: the logo URL to be displayed in login page
- client_logo_width: the logo width
- enable: whether to enable or disable the lockdown