PHPackages                             phpactor/code-transform - 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. phpactor/code-transform

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

phpactor/code-transform
=======================

Applies introspective transformations on source code

0.4.3(4y ago)155.2k↑126.7%92MITPHPPHP ^7.3 || ^8.0

Since Jul 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/phpactor/code-transform)[ Packagist](https://packagist.org/packages/phpactor/code-transform)[ RSS](/packages/phpactor-code-transform/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (14)Versions (29)Used By (2)

Code Transform
==============

[](#code-transform)

[![Build Status](https://camo.githubusercontent.com/73f23d90652dd99a2c0cab916dc7cc5dbe37609f24e0b398e4e1a7e484217a6d/68747470733a2f2f7472617669732d63692e6f72672f7068706163746f722f636f64652d7472616e73666f726d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/phpactor/code-transform)

A bunch of refactorings for [Phpactor](https://github.com/phpactor/code-transform), for example:

- Extract Constant
- Extract Method
- Generate Accessor
- Generate Method
- Import Class
- Override Method
- Rename Variable

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

[](#contributing)

This package is open source and welcomes contributions! Feel free to open a pull request on this repository.

Support
-------

[](#support)

- Create an issue on the main [Phpactor](https://github.com/phpactor/phpactor) repository.
- Join the `#phpactor` channel on the Slack [Symfony Devs](https://symfony.com/slack-invite) channel.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 92.2% 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 ~106 days

Recently: every ~137 days

Total

11

Last Release

1596d ago

PHP version history (2 changes)0.3.0PHP ^7.3

0.4.0PHP ^7.3 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/24ec7d5d6b7ea54007be5d7b4f43800381cc1e22929f7d2276fba30e497fdfa6?d=identicon)[dantleech](/maintainers/dantleech)

---

Top Contributors

[![dantleech](https://avatars.githubusercontent.com/u/530801?v=4)](https://github.com/dantleech "dantleech (330 commits)")[![camilledejoye](https://avatars.githubusercontent.com/u/11501572?v=4)](https://github.com/camilledejoye "camilledejoye (9 commits)")[![dshoreman](https://avatars.githubusercontent.com/u/1521802?v=4)](https://github.com/dshoreman "dshoreman (6 commits)")[![BladeMF](https://avatars.githubusercontent.com/u/12109622?v=4)](https://github.com/BladeMF "BladeMF (5 commits)")[![einenlum](https://avatars.githubusercontent.com/u/5675200?v=4)](https://github.com/einenlum "einenlum (3 commits)")[![weeman1337](https://avatars.githubusercontent.com/u/6216686?v=4)](https://github.com/weeman1337 "weeman1337 (3 commits)")[![zonuexe](https://avatars.githubusercontent.com/u/822086?v=4)](https://github.com/zonuexe "zonuexe (1 commits)")[![greg0ire](https://avatars.githubusercontent.com/u/657779?v=4)](https://github.com/greg0ire "greg0ire (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phpactor-code-transform/health.svg)

```
[![Health](https://phpackages.com/badges/phpactor-code-transform/health.svg)](https://phpackages.com/packages/phpactor-code-transform)
```

###  Alternatives

[phpactor/phpactor

PHP refactoring and intellisense tool for text editors

1.8k15.7k](/packages/phpactor-phpactor)[chenos/v8js-module-loader

1629.5k1](/packages/chenos-v8js-module-loader)

PHPackages © 2026

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