frankmullenger/underconstruction
Composer 安装命令:
composer require frankmullenger/underconstruction
包简介
SilverStripe Under Construction Page Module
README 文档
README
Maintainer Contacts
- Frank Mullenger (frankmullenger_AT_gmail(dot)com) My Blog
Requirements
- SilverStripe 3.0
Documentation
This is essentially just a much, much better version of the holding page module and achieves practically the same thing. This module will create a static HTML error page in the assets folder when it is installed. Then when a non admin user tries to visit the website the error page will be displayed. Once an admin user has logged in they will be able to browse the website at will.
Additionally, when the under construction page is displayed it responds to the browser with a 503 - Service Unavailable HTTP status code.
This module could easily be changed to generate any kind of maintenance page and return any kind of HTTP status code.
I have updated the module so that under construction pages can be turned on or off via the SiteConfig->Access tab for convenience.
Installation Instructions
- Place this directory in the root of your SilverStripe installation and call it 'underconstruction'.
- Visit yoursite.com/dev/build to rebuild the database and create the under construction page.
- Check that the under construction page was created by looking for an error-503.html page in the /assets folder.
- If you want to update the error page at any time (because your page template has changed perhaps), just delete the error-503.html page in the /assets folder and run /dev/build again to regenerate it.
- If your site is in dev mode then the under construction page will not be shown.
- You will need to go to the SiteConfig->Access tab and tick the checkbox to 'Display an under construction page?'.
You can find this module on Packagist.
Usage Overview
- Install the module using instructions above.
- When you no longer want to display the under construction page you can either remove this module (by removing the 'underconstruction' directory) or uncheck the relevant checkbox in SiteConfig->Access tab.
frankmullenger/underconstruction 适用场景与选型建议
frankmullenger/underconstruction 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.16k 次下载、GitHub Stars 达 15, 最近一次更新时间为 2012 年 11 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「silverstripe」 「under construction」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 frankmullenger/underconstruction 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 frankmullenger/underconstruction 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 frankmullenger/underconstruction 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Converts structured data into strict objects.
A library for creating recursive-descent natural language generators.
SilverStripe Maintenance Mode Module. Allows an administrator to put site in offline mode with 503 status to display a 'Coming Soon', 'Under Construction' or 'Down for Maintenance' Page to regular visitors, whilst allowing a logged in admin user to browse and make changes to the site.
Laravel middleware to display under construction message
Analytics chooser extensions for site settings.
统计信息
- 总下载量: 2.16k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 16
- 点击次数: 15
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2012-11-29