定制 taitava/silverstripe-serverrequirementschecker 二次开发

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

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

taitava/silverstripe-serverrequirementschecker

Composer 安装命令:

composer require taitava/silverstripe-serverrequirementschecker

包简介

A BuildTask for SilverStripe which allows for easy checking that the current server environment still meets the requirements defined by the standard SilverStripe installation process.

关键字:

README 文档

README

When you install SilverStripe by using the installation wizard, SilverStripe will check that the server environment meets all requirements. For example, certain PHP extensions are ensured to be available and directory writing permissions are checked. This is nice and handy. However, if you move your website/application to a new server or do some other changes to your server environment, SilverStripe by default does not provide any way to recheck the server environment's compatibility. This module simply adds a new BuildTask to your /dev/tasks list that you can use to recheck the requirements anytime. It runs the same tests the SilverStripe installer runs.

Requirements

This module requires SilverStripe 4.x framework. For compatibility with SS3, use the 1.x release line.

Usage

1. Install the module using composer

composer require "taitava/silverstripe-serverrequirementschecker:*"
php vendor/silverstripe/framework/cli-script.php dev/build flush=all

2. Test the environment requirements in browser

For this to work you need to be logged in as an administrator user. Visit the following url: http://website url/dev/tasks/Taitava-ServerRequirementsChecker-ServerRequirementsCheckerTask

3. Alternatively use a terminal for testing

php vendor/silverstripe/framework/cli-script.php /dev/tasks/Taitava-ServerRequirementsChecker-ServerRequirementsCheckerTask

Future plans

  • Create a unit test class which iterates all server environment checks and asserts that they have passed. This would make it easy to integrate environment checks to other testing.

Have your own ideas? Please let me know in the issues! :) Pull requests are also welcome.

Author

Jarkko Linnanvirta jarkko@taitavasti.fi

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-10-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固