Download the PHP package kaoken/laravel5-private-mode without Composer
On this page you can find all versions of the php package kaoken/laravel5-private-mode. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download kaoken/laravel5-private-mode
More information about kaoken/laravel5-private-mode
Files in kaoken/laravel5-private-mode
Download kaoken/laravel5-private-mode
More information about kaoken/laravel5-private-mode
Files in kaoken/laravel5-private-mode
Vendor kaoken
Package laravel5-private-mode
Short Description Available in laravel5 or higher, similar to maintenance mode.
License MIT
Homepage https://github.com/kaoken/laravel5-private-mode
Package laravel5-private-mode
Short Description Available in laravel5 or higher, similar to maintenance mode.
License MIT
Homepage https://github.com/kaoken/laravel5-private-mode
Keywords laravel
Please rate this library. Is it a good library?
Informations about the package laravel5-private-mode
laravel5-private-mode
Similar to the maintenance mode, Private mode
can be invalidated if the user matches the permitted IP group,
the password matched in the login form (when displayed),
the .env
fileAPP_ENV=testing
Only.
composer
Added to app\Http\Kernel.php
.
Added to .env
.
PRIVATE_SITE_VALID
represents validity / invalidity of this middleware.false
by default.true
, validfalse
, invalid
PRIVATE_MODE_LOGIN_FORM
represents the hidden login form.false
by default.- If it is
true
, the login form is displayed, and if it matches the password ofPRIVATE_MODE_PASSWORD
, private mode will be invalidated even for IPs other thanPRIVATE_SITE_SAFE_IP
. false
, hidden
PRIVATE_MODE_PASSWORD
- default, it is a random string.
PRIVATE_MODE_LOGIN_FORM
, Iftrue
, use it.
PRIVATE_SITE_SAFE_IP
adds an IP group for which private mode is invalidated.- default,
192.168.0.1/24
- Multiple entries can be added with a comma, and it corresponds to CIDR format.
- default,
Added to resources\views\vendor
Copy and paste laravel5-private-mode\resources\views\private_mode
in this directory.
private_mode
layouts
app.blade.php
is the basic layout.- In the case of
PRIVATE_MODE_LOGIN_FORM=false
,503.blade.php
is called whenPRIVATE_SITE_SAFE_IP
is not applicable IP group. - In the case of
PRIVATE_MODE_LOGIN_FORM=true
,login.blade.php
is called whenPRIVATE_SITE_SAFE_IP
is not applicable IP group.
License
MIT
All versions of laravel5-private-mode with dependencies
PHP Build Version
Package Version
The package kaoken/laravel5-private-mode contains the following files
Loading the files please wait ....