bringyourownideas/silverstripe-maintenance
Composer 安装命令:
composer require bringyourownideas/silverstripe-maintenance
包简介
Toolset to help with the day by day maintenance work.
README 文档
README
Overview
The Silverstripe Maintenance module reduces your maintenance related work.
Requirements
- Requires the
composer.jsonandcomposer.lockfiles to be available and readable in the environment you plan to use this module. All information is based on these files. - The queuedjobs module updates metadata on your installed modules in the background. You need to configure it to run those jobs.
- For the optional update checkers, the webserver environment needs to be able to contact external information sources through network requests
- SilverStripe:
- Maintenance ^2.2: Silverstripe ^4.4
- Maintenance ~2.1.0: Silverstripe 4.0-4.3
- Maintenance: ^1.0: Silverstripe 3.x
Suggested Modules
By default, the module will read your installed modules,
and present them as a report in the CMS under admin/reports.
In order to get information about potential updates to these modules, we recommend the installation of the following additional module:
- bringyourownideas/silverstripe-composer-update-checker checks for available updates of dependencies
The previously recommended silverstripe-composer-security-checker module can't work anymore and isn't recommended to be used anymore.
Installation
Option 1 (recommended): Install the maintenance package and suggested dependency
composer require bringyourownideas/silverstripe-maintenance bringyourownideas/silverstripe-composer-update-checker
Option 2 (minimal): Install only the maintenance package without any update checks
composer require bringyourownideas/silverstripe-maintenance
Build schema and queue an initial job to populate the database:
sake dev/build
If you haven't already, you need to configure the job queue to update module metadata in the background. By default, this happens every day, but can be configured to run at different intervals through YAML config:
BringYourOwnIdeas\Maintenance\Jobs\CheckForUpdatesJob: reschedule_delay: '+1 hour'
Manually running tasks
By default, tasks are run through a job queue. You can also choose to manually refresh via the command line.
Run the update task (includes the update-checker)
sake dev/tasks/UpdatePackageInfoTask
How your composer.json influences the report
The report available through the CMS shows "Available" and "Latest" versions (see user guide).
The version recommendations in those columns depend on your
composer.json configuration. When setting tight constraints (e.g. silverstripe/framework:4.3.2@stable),
newer releases don't show up as expected. We recommend to have looser constraints by default
(e.g. silverstripe/framework:^4.3). When the "Latest" version shows dev-master,
it likely means that you have "minimum-stability": "dev" in your composer.json.
Documentation
Please see the user guide section.
Contributing
Contributions are welcome! Create an issue, explaining a bug or propose development ideas. Find more information on contributing in the Silverstripe developer documentation.
Reporting Issues
Please create an issue for any bugs you've found, or features you're missing.
bringyourownideas/silverstripe-maintenance 适用场景与选型建议
bringyourownideas/silverstripe-maintenance 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 224.87k 次下载、GitHub Stars 达 31, 最近一次更新时间为 2018 年 04 月 20 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「security」 「composer」 「environment」 「silverstripe」 「vulnerabilities」 「updates」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 bringyourownideas/silverstripe-maintenance 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 bringyourownideas/silverstripe-maintenance 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 bringyourownideas/silverstripe-maintenance 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Environment processor and contexts autoloader
The tenancy/tenancy identification driver using environment variables
Multiple cascading environmental configuration files support for Laravel 5
Provide a way to secure accesses to all routes of an symfony application.
An environment variable convenience library extension for vlucas/phpdotenv
It's a barebone security class written on PHP
统计信息
- 总下载量: 224.87k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 32
- 点击次数: 9
- 依赖项目数: 8
- 推荐数: 4
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2018-04-20
