定制 ibexa/rector 二次开发

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

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

ibexa/rector

最新稳定版本:v5.0.4

Composer 安装命令:

composer require ibexa/rector

包简介

Ibexa Rector refactoring tool rule sets

关键字:

README 文档

README

This package is part of Ibexa DXP.

This package provides a set of Rector rules to allow automatic upgrades between Ibexa DXP versions.

To use this package, install Ibexa DXP and follow installation instructions below.

Installation

composer require --dev ibexa/rector:^5.0

Usage

  1. Create ./rector.php file in your project, with the following contents, adjusted to your project structure:
    declare(strict_types=1);
    
    use Ibexa\Contracts\Rector\Sets\IbexaSetList;
    use Rector\Config\RectorConfig;
    
    return RectorConfig::configure()
                       ->withPaths(
                           [
                               __DIR__ . '/src', // see if it matches your project structure
                               __DIR__ . '/tests'
                           ]
                       )
                       ->withSets(
                           [
                               IbexaSetList::IBEXA_50->value // rule set for upgrading to Ibexa DXP 5.0
                           ]
                       )
    ;
  2. Execute Rector
    php ./bin/rector process <directory>
    

CONTRIBUTING

See contribution guideline to learn how to add rules.

COPYRIGHT

Copyright (C) 1999-2025 Ibexa AS (formerly eZ Systems AS). All rights reserved.

LICENSE

This source code is available separately under the following licenses:

A - Ibexa Business Use License Agreement (Ibexa BUL), version 2.4 or later versions (as license terms may be updated from time to time) Ibexa BUL is granted by having a valid Ibexa DXP (formerly eZ Platform Enterprise) subscription, as described at: https://www.ibexa.co/product For the full Ibexa BUL license text, please see:

AND

B - GNU General Public License, version 2 Grants an copyleft open source license with ABSOLUTELY NO WARRANTY. For the full GPL license text, please see:

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 11
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: (GPL-2.0-only or proprietary) d4f04ad38396f25d141eb1de961933731bfd71ab
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固