evozon/future
Composer 安装命令:
composer create-project evozon/future
包简介
Future is a library that facilitates the upgrade process of PHP projects
README 文档
README
Future is a library that facilitates the upgrade process of PHP projects. It can help you in 3 major areas:
1. Platform Upgrade
Future will test if your project is able to run using the latest platform configuration (e.g. the latest PHP version) and will provide a detailed summary of any encountered issue.
2. Dependencies Upgrade
On top of the platform upgrade, it will test if your project is able to run using the latest version of your direct Composer dependencies and will provide a list of blockers that stop you from upgrading.
3. Code Upgrade
Finally, Future will test if your project is compatible with the latest coding standards with the help of Rector.
Setup
Prerequisites
- A Composer-based Project
- A Continuous Integration Pipeline
- A Test Suite
Install
composer require --dev evozon/future
Configure
Please refer to the links below for information on how to configure Future:
Running Future
After you have installed and configured Future, run the pipeline and check the output of the future-proofing job.
Contribute
Please refer to CONTRIBUTING.md for information on how to contribute to Future.
Recommendations
Future can be used to test if you can upgrade everything at once: the latest PHP version, the latest versions for your Composer dependencies, and the latest codebase standards. We advise against this since it may lead to massive amounts of changes that are hard to review and test.
We recommend splitting the upgrade process into stages. Start with the PHP version upgrade (one minor version at a time), continue with the dependencies upgrade and finish with the codebase changes. This way you can have smaller PRs that are easier to review and test.
Thanks to Rector for providing the tool that does the heavy lifting. Future uses Rector to upgrade the codebase to the latest coding standards.
evozon/future 适用场景与选型建议
evozon/future 是一款 基于 Go 开发的 Composer 扩展包,目前已累计 1.45k 次下载、GitHub Stars 达 6, 最近一次更新时间为 2022 年 12 月 22 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 evozon/future 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 evozon/future 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 1.45k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2022-12-22