ssch/typo3-rector 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

ssch/typo3-rector

Composer 安装命令:

composer require --dev ssch/typo3-rector

包简介

Instant fixes for your TYPO3 PHP code by using Rector.

README 文档

README

Latest Stable Version Total Downloads Monthly Downloads Donate

TYPO3 Rector

This project lets you apply instant upgrades and refactoring to your TYPO3 Website and extension code, making it easier to migrate between TYPO3 releases and keeping your code free from deprecation.

It extends the Rector project, which aims to provide instant upgrades and refactoring for any PHP code (5.3+).

Warning

❗ Never run this tool on production! Always run it on development environment where code is under version control (e.g. git). Review and test changes before releasing to production. Code migrations could potentially break your website!

URL
Repository: https://github.com/sabbelasichon/typo3-rector
Documentation: https://github.com/sabbelasichon/typo3-rector/tree/main/docs
Packagist: https://packagist.org/packages/ssch/typo3-rector
Website: https://www.typo3-rector.com

Installation

TYPO3 Rector requires at least PHP 7.4 but is also compatible with PHP 8. You can find more details about the installation in our installation documentation.

You can install the package via composer:

composer require --dev ssch/typo3-rector

You can create the rector config file with:

vendor/bin/typo3-init

Usage

To see the code migrations that Rector will do, run:

vendor/bin/rector process --dry-run

and when you want to execute the migrations run:

vendor/bin/rector process

Documentation

The TYPO3 Rector specific documentation can be found in the Documentation folder in this repository, anything Rector specific can be found on the Rector Website.

Version matrix

v1 v2, v3
TYPO3 versions 7 - 12 (not all rules) 10 - 14 rules
file support all files (typoscript, flexform, ...) only PHP files

Related software

  • fractor with its typo3-fractor rules that migrate TypoScript, FlexForm, YAML, Fluid template, .htaccess and composer.json files.

Contributing

Please see CONTRIBUTING for details.

Funding/Sponsoring

Help us out and sponsor our work! Visit our website typo3-rector.com for more info.

This makes it possible to invest more time to keep the project alive and create even more rules for automated migration.

Support

Please post questions in the TYPO3 Slack channel #ext-typo3-rector or feel free to open an issue or start a discussion on GitHub.

Credits

Many thanks to Tomas Votruba and Abdul Malik Ikhsan for maintaining Rector. Many thanks to All Contributors.

Follow us on X:

License

The MIT License (MIT). Please see License File for more information.

Known Drawbacks

How to Apply Coding Standards?

Rector uses nikic/php-parser, built on technology called an abstract syntax tree (AST). An AST doesn't know about spaces and when written to a file it produces poorly formatted code in both PHP and docblock annotations. That's why your project needs to have a coding standard tool and a set of formatting rules, so it can make Rector's output code nice and shiny again.

We're using ECS with this setup.

ssch/typo3-rector 适用场景与选型建议

ssch/typo3-rector 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.16M 次下载、GitHub Stars 达 260, 最近一次更新时间为 2019 年 12 月 04 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「migration」 「automation」 「dev」 「upgrade」 「refactoring」 「rector」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 ssch/typo3-rector 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 ssch/typo3-rector 我们能提供哪些服务?
定制开发 / 二次开发

基于 ssch/typo3-rector 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 3.16M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 264
  • 点击次数: 19
  • 依赖项目数: 259
  • 推荐数: 1

GitHub 信息

  • Stars: 260
  • Watchers: 10
  • Forks: 69
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-12-04