laravel-admin-ext/lock-screen is a Laravel package for lock-screen page for laravel-admin.
It currently has 22 GitHub stars and 17.292 downloads on Packagist (latest version v1.0).
Install it with composer require laravel-admin-ext/lock-screen.
Discover more Laravel packages by laravel-admin-ext
or browse all Laravel packages to compare alternatives.
Last updated
Add a lock screen page to laravel-admin.

composer require laravel-admin-ext/lock-screen
Then add a middleware admin.lock to routes configuration in config/admin.php
'route' => [
'prefix' => 'demo',
'namespace' => 'App\\Admin\\Controllers',
// add middleware `admin.lock` into this array.
'middleware' => ['web', 'admin', 'admin.lock'],
],
After installation and configuration, open the admin page, you will find a link in the upper right corner of the page with a lock icon, click it to redirect to the lock screen page, You need to enter your login password to return to unlock the page.
如果觉得这个项目帮你节约了时间,不妨支持一下;)

Licensed under The MIT License (MIT).