PHPackages                             dario\_swain/drupal-fixer - 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. dario\_swain/drupal-fixer

ActiveProject

dario\_swain/drupal-fixer
=========================

Checks and fixes Drupal deprecated code.

031[2 PRs](https://github.com/DarioSwain/DrupalFixer/pulls)PHP

Since Oct 12Pushed 6y ago2 watchersCompare

[ Source](https://github.com/DarioSwain/DrupalFixer)[ Packagist](https://packagist.org/packages/dario_swain/drupal-fixer)[ RSS](/packages/dario-swain-drupal-fixer/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

DrupalFixer
===========

[](#drupalfixer)

Checks and fixes Drupal deprecated code.

**\[IMPORTANT\] This project is an experiment to figure out how is complex to implement automatically migration of deprecated Drupal7/8 code blocks which are going to be removed in Drupal 9.**

Manual checks of the results are required.

Contributing
------------

[](#contributing)

Please [follow this guide](/docs/CONTRIBUTION.md) to understand how this project is working and how you can contribute into it.

Requirements
------------

[](#requirements)

- PHP &gt;=7.1

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

[](#installation)

### Composer

[](#composer)

To get the latest master version of this project you can install it via composer:

```
php myapp/composer.phar create-project dario_swain/drupal-fixer -s dev
cd drupal-fixer
vendor/bin/rector -V

```

After this you should get Rector version in console like:

```
Rector v0.5.16

```

### Build From Source

[](#build-from-source)

- Clone or fork and clone this repository.
- Run `composer install`
- That's it you can use Rector via `vendor/bin/rector -V`

Usage
-----

[](#usage)

```
php ../../vendor/bin/rector -c ../../configs/drupal-9-deprecations.yaml process -a vendor/autoload.php modules/contrib/simple_amp/src/ --dry-run

```

License
-------

[](#license)

[GPL v2](LICENSE)

Issues
------

[](#issues)

Submit issues and feature requests here: .

### Known Issues

[](#known-issues)

---

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 78.6% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2b3584fec74a542231a7b5a2c85ed5a63c83cc57bec69735990607b7df3c6a28?d=identicon)[dario\_swain](/maintainers/dario_swain)

---

Top Contributors

[![IlyaPokamestov](https://avatars.githubusercontent.com/u/2771864?v=4)](https://github.com/IlyaPokamestov "IlyaPokamestov (22 commits)")[![mohsin-saeed-epam](https://avatars.githubusercontent.com/u/78344376?v=4)](https://github.com/mohsin-saeed-epam "mohsin-saeed-epam (3 commits)")[![stickler-ci](https://avatars.githubusercontent.com/u/16011037?v=4)](https://github.com/stickler-ci "stickler-ci (3 commits)")

---

Tags

drupaldrupal-8drupal-9fixer

### Embed Badge

![Health badge](/badges/dario-swain-drupal-fixer/health.svg)

```
[![Health](https://phpackages.com/badges/dario-swain-drupal-fixer/health.svg)](https://phpackages.com/packages/dario-swain-drupal-fixer)
```

PHPackages © 2026

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