定制 evozon/future 二次开发

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

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

evozon/future

最新稳定版本:1.0.3

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.

统计信息

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

GitHub 信息

  • Stars: 6
  • Watchers: 4
  • Forks: 0
  • 开发语言: Go

其他信息

  • 授权协议: proprietary
  • 更新时间: 2022-12-22