PHPackages                             oro/upgrade-toolkit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. oro/upgrade-toolkit

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

oro/upgrade-toolkit
===================

The Oro Source Code Upgrade Toolkit

6.1.x-dev(1y ago)69.6k—3.1%1MITPHP

Since Jul 12Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/oroinc/upgrade)[ Packagist](https://packagist.org/packages/oro/upgrade-toolkit)[ Docs](https://github.com/oroinc/upgrade)[ RSS](/packages/oro-upgrade-toolkit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (7)Used By (0)

The Oro Source Code Upgrade Toolkit
===================================

[](#the-oro-source-code-upgrade-toolkit)

A command line tool that simplifies upgrading Oro application source code from versions 4.0, 4.1, 4.2, 5.0, 5.1, and 6.0 to version 6.1.

Installation
------------

[](#installation)

```
composer require oro/upgrade-toolkit:dev-master --dev
```

Suggested Workflow
------------------

[](#suggested-workflow)

1. Analyze your code with and review suggested changes:

```
php bin/upgrade-toolkit --dry-run
```

2. Apply suggested changes:

```
php bin/upgrade-toolkit
```

3. Fix Code Style. Use IDE build-in solutions (e.g., “Code &gt; Reformat Code” in PhpStorm), or run Php-CS-Fixer and PHP\_CodeSniffer

```
# Run Php-CS-Fixer
php bin/php-cs-fixer fix src --verbose --config=vendor/oro/platform/build/.php-cs-fixer.php

# Run PHP_CodeSniffer
php bin/phpcbf src/ -p --encoding=utf-8 --extensions=php --standard=vendor/oro/platform/build/Oro/phpcs.xml
```

4. Run required [automated tests](https://doc.oroinc.com/backend/automated-tests/) to ensure that the upgraded code still works properly.

Usage
-----

[](#usage)

Run:

```
php bin/upgrade-toolkit
```

In most cases, the command can be used without any options.

If additional adjustments are needed, run the command with the `--help` option.

```
php bin/upgrade-toolkit --help
```

You can run rector rule sets separately by executing the following command:

> **💡** The upgrade-toolkit wrapper ensures that pre- and post-processing capabilities are automatically executed, maintaining data consistency and applying additional transformations required for the upgrade.

```
php bin/upgrade-toolkit rector process src --config vendor/oro/upgrade-toolkit/sets/oro-51.php
```

If your source directory is not src/, replace `src` with the path to it and update `oro-51.php` with the desired upgrade set (either `oro-51.php` or `oro-60.php`).

To verify the results without making any changes, add the `--dry-run` option to the `bin/rector` command.

You can also process the .yml files to run separately:

```
php bin/upgrade-toolkit yml:fix
```

In this case, the recommended workflow is as follows:

1. Check and verify results without making any changes first:

```
   php bin/upgrade-toolkit yml:fix --dry-run
```

2. Apply changes:

```
   php bin/upgrade-toolkit yml:fix
```

Testing
-------

[](#testing)

To run tests, use the following command:

```
php bin/phpunit --testsuite upgrade-toolkit --configuration vendor/oro/upgrade-toolkit/phpunit.xml.dist
```

License
-------

[](#license)

This bundle is under the MIT license. See the complete license [in the bundle](LICENSE).

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance68

Regular maintenance activity

Popularity31

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 Bus Factor1

Top contributor holds 65% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~86 days

Total

2

Last Release

473d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30661063?v=4)[Oro, Inc](/maintainers/orocrm)[@orocrm](https://github.com/orocrm)

---

Top Contributors

[![OleksandrProtsiuk](https://avatars.githubusercontent.com/u/44535554?v=4)](https://github.com/OleksandrProtsiuk "OleksandrProtsiuk (26 commits)")[![anyt](https://avatars.githubusercontent.com/u/5183991?v=4)](https://github.com/anyt "anyt (7 commits)")[![mbessolov](https://avatars.githubusercontent.com/u/2725121?v=4)](https://github.com/mbessolov "mbessolov (5 commits)")[![timofiyprisyazhnyuk](https://avatars.githubusercontent.com/u/33844707?v=4)](https://github.com/timofiyprisyazhnyuk "timofiyprisyazhnyuk (1 commits)")[![yurio](https://avatars.githubusercontent.com/u/1615700?v=4)](https://github.com/yurio "yurio (1 commits)")

---

Tags

upgradeupdateOroPlatformOroCrmOroCommerce

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/oro-upgrade-toolkit/health.svg)

```
[![Health](https://phpackages.com/badges/oro-upgrade-toolkit/health.svg)](https://phpackages.com/packages/oro-upgrade-toolkit)
```

###  Alternatives

[pyrech/composer-changelogs

Display changelogs after each composer update

5904.0M25](/packages/pyrech-composer-changelogs)[ssch/typo3-rector

Instant fixes for your TYPO3 PHP code by using Rector.

2592.8M263](/packages/ssch-typo3-rector)[sllh/composer-versions-check

Checks if packages are up to date to last major versions after update

2352.4M16](/packages/sllh-composer-versions-check)[shalvah/upgrader

Create automatic upgrades for your package.

1510.9M6](/packages/shalvah-upgrader)[ichhabrecht/core-upgrader

Run upgrade wizards for multiple TYPO3 versions at once

2732.0k](/packages/ichhabrecht-core-upgrader)[sulu/sulu-rector

Rector upgrades rules for Sulu CMS

17334.8k11](/packages/sulu-sulu-rector)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
