定制 haruncpi/laravel-maintenance 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

haruncpi/laravel-maintenance

最新稳定版本:v1.0.0

Composer 安装命令:

composer require haruncpi/laravel-maintenance

包简介

A laravel maintenance that support secret route

README 文档

README

for Laravel 6/7/5

Maintenance mode package for Laravel that support secret route!

Documentation

Install

composer require haruncpi/laravel-maintenance

Replace middleware in app/Http/Kernel.php

//\App\Http\Middleware\CheckForMaintenanceMode::class,
\Haruncpi\LaravelMaintenance\Middleware\MaintenanceMode::class,

Usage

This package support all default maintenance mode features with maintenance bypass by secret route.

Maintenance Bypass - Secret route
php artisan down --secret="mysecretkey"
Now you can bypass by secret route
https://example.com/mysecretkey

With this secret route, only you can access your website in live mode and the rest of the world get it in maintenance mode.

Other Packages

统计信息

  • 总下载量: 50.6k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 11
  • Watchers: 2
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: cc-by-4.0
  • 更新时间: 2020-12-30