PHPackages                             rc/phpstorm-stubs - 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. rc/phpstorm-stubs

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

rc/phpstorm-stubs
=================

STUBS are normal, syntactically correct PHP files that contain function &amp; class signatures, constant definitions, etc. for all built in PHP stuff and most standard extensions

012PHP

Since Nov 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/rafaelcalleja/phpstorm-stubs)[ Packagist](https://packagist.org/packages/rc/phpstorm-stubs)[ RSS](/packages/rc-phpstorm-stubs/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

phpstorm-stubs
==============

[](#phpstorm-stubs)

STUBS are normal, syntactically correct PHP files that contain function &amp; class signatures, constant definitions, etc. for all built in PHP stuff and most standard extensions. Stubs need to include complete [PHPDOC](https://github.com/phpDocumentor/fig-standards/blob/master/proposed/phpdoc.md), especially proper @return annotations

IDE needs them for completion, code inspection, type inference, doc popups, etc. Quality of most of this services depend on quality of the stubs (basically their PHPDOC @annotations).

[Relevant open issues](https://youtrack.jetbrains.com/issues/WI?q=%23Unresolved+Subsystem%3A+%7BPHP+lib+stubs%7D+order+by%3A+votes+)

### Contribution process

[](#contribution-process)

[Contribution process](CONTRIBUTING.md)

### Updating the IDE

[](#updating-the-ide)

TBD: Have a full copy of .git repo within IDE and add it as an external library "PHP Runtime" to the project. It should then be easilly updatable both way via normal git methods.

### License

[](#license)

[Apache 2](https://www.apache.org/licenses/LICENSE-2.0)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.8% 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/6dda251956e0fe106611712706d7f85f8c08ab972dc044b98cb56c8baa6f6dbd?d=identicon)[rafaelcalleja](/maintainers/rafaelcalleja)

---

Top Contributors

[![neuro159](https://avatars.githubusercontent.com/u/87308?v=4)](https://github.com/neuro159 "neuro159 (261 commits)")[![andrey-sokolov](https://avatars.githubusercontent.com/u/12999170?v=4)](https://github.com/andrey-sokolov "andrey-sokolov (129 commits)")[![boekkooi](https://avatars.githubusercontent.com/u/399895?v=4)](https://github.com/boekkooi "boekkooi (15 commits)")[![dryabov](https://avatars.githubusercontent.com/u/378044?v=4)](https://github.com/dryabov "dryabov (8 commits)")[![felixfbecker](https://avatars.githubusercontent.com/u/10532611?v=4)](https://github.com/felixfbecker "felixfbecker (7 commits)")[![BenMorel](https://avatars.githubusercontent.com/u/1952838?v=4)](https://github.com/BenMorel "BenMorel (5 commits)")[![artspb](https://avatars.githubusercontent.com/u/391485?v=4)](https://github.com/artspb "artspb (4 commits)")[![stof](https://avatars.githubusercontent.com/u/439401?v=4)](https://github.com/stof "stof (3 commits)")[![wayne530](https://avatars.githubusercontent.com/u/313354?v=4)](https://github.com/wayne530 "wayne530 (3 commits)")[![fyrye](https://avatars.githubusercontent.com/u/302306?v=4)](https://github.com/fyrye "fyrye (3 commits)")[![msjyoo](https://avatars.githubusercontent.com/u/2097812?v=4)](https://github.com/msjyoo "msjyoo (2 commits)")[![AnatolyRugalev](https://avatars.githubusercontent.com/u/1397674?v=4)](https://github.com/AnatolyRugalev "AnatolyRugalev (2 commits)")[![cyrodiil](https://avatars.githubusercontent.com/u/1830831?v=4)](https://github.com/cyrodiil "cyrodiil (2 commits)")[![hannesvdvreken](https://avatars.githubusercontent.com/u/1410358?v=4)](https://github.com/hannesvdvreken "hannesvdvreken (2 commits)")[![hver](https://avatars.githubusercontent.com/u/3062750?v=4)](https://github.com/hver "hver (2 commits)")[![mfettig](https://avatars.githubusercontent.com/u/6911740?v=4)](https://github.com/mfettig "mfettig (2 commits)")[![acim](https://avatars.githubusercontent.com/u/2791202?v=4)](https://github.com/acim "acim (2 commits)")[![signe](https://avatars.githubusercontent.com/u/249456?v=4)](https://github.com/signe "signe (2 commits)")[![SvetlanaZem](https://avatars.githubusercontent.com/u/1734524?v=4)](https://github.com/SvetlanaZem "SvetlanaZem (2 commits)")[![tuyakhov](https://avatars.githubusercontent.com/u/7713205?v=4)](https://github.com/tuyakhov "tuyakhov (2 commits)")

### Embed Badge

![Health badge](/badges/rc-phpstorm-stubs/health.svg)

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

PHPackages © 2026

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