PHPackages                             phpactor/phpactor - 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/phpactor

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

phpactor/phpactor
=================

PHP refactoring and intellisense tool for text editors

2025.12.21.1(4mo ago)1.8k15.7k↑22.2%154[270 issues](https://github.com/phpactor/phpactor/issues)[28 PRs](https://github.com/phpactor/phpactor/pulls)MITPHPPHP ^8.1CI passing

Since Apr 2Pushed 1mo ago20 watchersCompare

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

READMEChangelog (10)Dependencies (45)Versions (118)Used By (0)

Phpactor
========

[](#phpactor)

[![phpactor2sm](https://user-images.githubusercontent.com/530801/27995098-82e72c4c-64c0-11e7-96d2-f549c711ca8b.png)](https://user-images.githubusercontent.com/530801/27995098-82e72c4c-64c0-11e7-96d2-f549c711ca8b.png)

[![CI](https://github.com/phpactor/phpactor/workflows/CI/badge.svg?branch=master)](https://github.com/phpactor/phpactor/workflows/CI/badge.svg?branch=master)

This project aims to provide heavy-lifting *refactoring* and *introspection*tools which can be used standalone or as the backend for a text editor to provide intelligent code completion.

- Accurate code [completion](https://phpactor.readthedocs.io/en/master/reference/completion.html) including class name auto-import.
- [Various](https://phpactor.readthedocs.io/en/master/reference/refactorings.html) refactoring,fixes and code generation options.
- Provides a [Language Server](https://phpactor.readthedocs.io/en/master/usage/language-server.html)
- Native [VIM plugin](https://phpactor.readthedocs.io/en/master/usage/vim-plugin.html) ([emacs](https://github.com/emacs-php/phpactor.el) plugin is in development).
- [Navigation](https://phpactor.readthedocs.io/en/master/reference/navigation.html) (jump to definition, related classes, references etc).
- [More](https://phpactor.readthedocs.io/en/master).

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

[](#installation)

Phpactor is a general tool, it is not intended that it be installed as a project dependency.

See [Installation](https://phpactor.readthedocs.io/en/master/usage/standalone.html)for installation instructions.

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

[](#requirements)

- PHP 8.1+
- PHP [mbstring](https://www.php.net/manual/en/book.mbstring.php) extension.
- [Composer](https://getcomposer.org/)
- Linux or MacOS (Windows users will need to use [WSL](https://learn.microsoft.com/en-us/windows/wsl/install))

Project Recommendations
-----------------------

[](#project-recommendations)

Phpactor will perform better with [Composer](https://getcomposer.org) and, to a lesser extent, with [GiT](https://git-scm.org).

Documentation
-------------

[](#documentation)

Full documentation can be found on [Read the Docs](https://phpactor.readthedocs.io/en/master)

Community
---------

[](#community)

- Follow [@phpactor](https://phpc.social/@phpactor) on 🦣 Mastodon for latest news.
- Join the `#phpactor` channel on the Slack [Symfony Devs](https://symfony.com/slack-invite) channel.

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.

Sponsors
--------

[](#sponsors)

The following organisations are providing either financial support or free services. If you would like to support Phpactor development financially you can [sponsor me](https://github.com/sponsors/dantleech).

### Tinkerwell

[](#tinkerwell)

[![Tinkerwell](https://user-images.githubusercontent.com/530801/172365695-f60dcd49-315f-48df-b146-7316697a30bd.png)](https://tinkerwell.app/)

###  Health Score

67

—

FairBetter than 100% of packages

Maintenance80

Actively maintained with recent releases

Popularity53

Moderate usage in the ecosystem

Community32

Small or concentrated contributor base

Maturity89

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 86.5% 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 ~47 days

Total

61

Last Release

128d ago

Major Versions

0.18.1 → 2022.09.112022-09-11

2022.12.12 → 2023.01.212023-01-21

2023.12.03.0 → 2024.03.09.02024-03-09

2024.11.28.1 → 2025.02.21.02025-02-21

PHP version history (7 changes)0.1.0PHP ^7.0

0.10.0PHP ^7.1

0.15.0PHP ^7.3

0.17.0PHP ^7.3 || ^8.0

2022.09.11PHP ^7.4 || ^8.0

2022.12.12PHP ^8.0

2023.12.03.0PHP ^8.1

### 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 (1731 commits)")[![mamazu](https://avatars.githubusercontent.com/u/14860264?v=4)](https://github.com/mamazu "mamazu (121 commits)")[![przepompownia](https://avatars.githubusercontent.com/u/11404453?v=4)](https://github.com/przepompownia "przepompownia (34 commits)")[![MatmaRex](https://avatars.githubusercontent.com/u/160413?v=4)](https://github.com/MatmaRex "MatmaRex (16 commits)")[![greg0ire](https://avatars.githubusercontent.com/u/657779?v=4)](https://github.com/greg0ire "greg0ire (13 commits)")[![camilledejoye](https://avatars.githubusercontent.com/u/11501572?v=4)](https://github.com/camilledejoye "camilledejoye (12 commits)")[![zonuexe](https://avatars.githubusercontent.com/u/822086?v=4)](https://github.com/zonuexe "zonuexe (9 commits)")[![bart-jaskulski](https://avatars.githubusercontent.com/u/56613051?v=4)](https://github.com/bart-jaskulski "bart-jaskulski (5 commits)")[![zobo](https://avatars.githubusercontent.com/u/2456026?v=4)](https://github.com/zobo "zobo (5 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![ging-dev](https://avatars.githubusercontent.com/u/42226341?v=4)](https://github.com/ging-dev "ging-dev (4 commits)")[![still-dreaming-1](https://avatars.githubusercontent.com/u/354296?v=4)](https://github.com/still-dreaming-1 "still-dreaming-1 (4 commits)")[![gbprod](https://avatars.githubusercontent.com/u/3751019?v=4)](https://github.com/gbprod "gbprod (3 commits)")[![kristijanhusak](https://avatars.githubusercontent.com/u/1782860?v=4)](https://github.com/kristijanhusak "kristijanhusak (3 commits)")[![lens0021](https://avatars.githubusercontent.com/u/28209361?v=4)](https://github.com/lens0021 "lens0021 (3 commits)")[![einenlum](https://avatars.githubusercontent.com/u/5675200?v=4)](https://github.com/einenlum "einenlum (3 commits)")[![dshoreman](https://avatars.githubusercontent.com/u/1521802?v=4)](https://github.com/dshoreman "dshoreman (3 commits)")[![Taluu](https://avatars.githubusercontent.com/u/239685?v=4)](https://github.com/Taluu "Taluu (3 commits)")[![gerardroche](https://avatars.githubusercontent.com/u/44148?v=4)](https://github.com/gerardroche "gerardroche (3 commits)")[![yaegassy](https://avatars.githubusercontent.com/u/188642?v=4)](https://github.com/yaegassy "yaegassy (2 commits)")

---

Tags

completionphprefactoringvim

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19562.3M1.3k](/packages/drupal-core)[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k26.2M1.8k](/packages/infection-infection)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)

PHPackages © 2026

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