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

2026.06.25.0(1w ago)1.9k17.1k↑78.6%157[268 issues](https://github.com/phpactor/phpactor/issues)[26 PRs](https://github.com/phpactor/phpactor/pulls)1MITPHPPHP ^8.2CI passing

Since Apr 2Pushed 1w ago21 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 2d ago

READMEChangelog (10)Dependencies (182)Versions (125)Used By (1)

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.2+
- 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

73

—

ExcellentBetter than 100% of packages

Maintenance96

Actively maintained with recent releases

Popularity54

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity93

Battle-tested with a long release history

 Bus Factor1

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

65

Last Release

7d 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

2025.12.21.x-dev → 2026.05.30.02026-05-30

PHP version history (8 changes)0.1.0PHP ^7.0

0.10.0PHP ^7.1

0.15.1PHP ^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

2026.05.30.0PHP ^8.2

### 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 (1740 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 (37 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

[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[drupal/core

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

21866.0M1.7k](/packages/drupal-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.2k](/packages/friendsofphp-php-cs-fixer)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)

PHPackages © 2026

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