PHPackages                             phalcon/ide-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. phalcon/ide-stubs

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

phalcon/ide-stubs
=================

The most complete Phalcon Framework IDE stubs library which enables autocompletion in modern IDEs.

v5.9.3(1y ago)1623.1M—0.7%55[7 issues](https://github.com/phalcon/ide-stubs/issues)[2 PRs](https://github.com/phalcon/ide-stubs/pulls)20BSD-3-ClausePHPPHP &gt;=7.4CI passing

Since Apr 11Pushed 1mo ago17 watchersCompare

[ Source](https://github.com/phalcon/ide-stubs)[ Packagist](https://packagist.org/packages/phalcon/ide-stubs)[ Docs](https://phalcon.io)[ GitHub Sponsors](https://github.com/phalcon)[ Fund](https://opencollective.com/phalcon)[ RSS](/packages/phalcon-ide-stubs/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (61)Used By (20)

Phalcon IDE Stubs
=================

[](#phalcon-ide-stubs)

This repo provides the most complete Phalcon Framework stubs which enables autocompletion in modern IDEs.

Installing via Composer
-----------------------

[](#installing-via-composer)

```
composer require --dev phalcon/ide-stubs
```

Installing via Git
------------------

[](#installing-via-git)

1. Clone the Phalcon IDE Stubs repository in a common location.
2. Setup your IDE.

Read before create PR with fix
------------------------------

[](#read-before-create-pr-with-fix)

All stubs are generated from [cphalcon](https://github.com/phalcon/cphalcon) project via [Zephir stubs](https://docs.zephir-lang.com/0.12/en/config#stubs).
Please find the problem inside [Phalcon's Zephir code](https://github.com/phalcon/cphalcon/tree/master/phalcon) and submit pull request with fix [here](https://github.com/phalcon/cphalcon/pulls).

How to update stubs
-------------------

[](#how-to-update-stubs)

1. Generate stubs inside `cphalcon` project

```
php zephir.phar fullclean
php zephir.phar generate
php zephir.phar stubs
```

2. Replace `.zep` inside generated `.php` files

```
find ide/ -type f -exec rename 's/\.zep//' '{}' \;
```

3. Mass fix code style

```
# Pick latest .phar from here: https://github.com/squizlabs/PHP_CodeSniffer/releases
php phpcbf.phar --standard=PSR12 src
```

4. Copy all files from `ide/%version%/Phalcon/` folder in `cphalcon` project
5. Paste inside `src/` folder in `ide-stubs` project

Sponsors
--------

[](#sponsors)

Become a sponsor and get your logo on our README on Github with a link to your site. \[[Become a sponsor](https://opencollective.com/phalcon#sponsor)\]

[![](https://camo.githubusercontent.com/da837e5075acfc242386b1548662969c052d68581895fde61b0142e91d5d8520/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7068616c636f6e2f74696572732f73706f6e736f72732e7376673f6176617461724865696768743d34382677696474683d383030)](https://opencollective.com/phalcon/#contributors)Backers
-------

[](#backers)

Support us with a monthly donation and help us continue our activities. \[[Become a backer](https://opencollective.com/phalcon#backer)\]

[![](https://camo.githubusercontent.com/a1f3712dc35aac0bbf91f4a4f0f8c23d47355312bee599d5938ca1fa89f4a9fa/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7068616c636f6e2f74696572732f6261636b6572732e7376673f6176617461724865696768743d34382677696474683d383030266865696768743d323030)](https://opencollective.com/phalcon/#contributors)License
-------

[](#license)

Phalcon IDE Stubs is open-sourced software licensed under the New BSD License. © Phalcon Framework Team and contributors.

###  Health Score

66

—

FairBetter than 99% of packages

Maintenance71

Regular maintenance activity

Popularity60

Solid adoption and visibility

Community49

Growing community involvement

Maturity77

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~50 days

Recently: every ~84 days

Total

59

Last Release

391d ago

Major Versions

v3.4.3 → v4.0.0-alpha.42019-05-13

v4.1.0 → v5.0.0-alpha.22021-09-11

PHP version history (3 changes)v3.1.2PHP &gt;=5.3.0

v4.0.0-beta.1PHP &gt;=7.2.0

v5.0.0-alpha.2PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/97049a4bd2f9716e97749f93fe32f8da0a3eeda4192772dec73a6a2531294cea?d=identicon)[klay](/maintainers/klay)

![](https://www.gravatar.com/avatar/826683026897842e5e89553da75daf5f8b4d0fe030761c876e2c8e2029942f8e?d=identicon)[phalcon](/maintainers/phalcon)

![](https://www.gravatar.com/avatar/2028c7b5e1e01380a709478988e8bcdff58b5aec2c0709e991a4f6c7ba9502ec?d=identicon)[virgofx](/maintainers/virgofx)

![](https://www.gravatar.com/avatar/9572c74793c58fd679e1cf2f769a5d5bcc6e0e14c3e73f0d41c5b26351eaa132?d=identicon)[ruudboon](/maintainers/ruudboon)

---

Top Contributors

[![niden](https://avatars.githubusercontent.com/u/1073784?v=4)](https://github.com/niden "niden (57 commits)")[![Jeckerson](https://avatars.githubusercontent.com/u/3289702?v=4)](https://github.com/Jeckerson "Jeckerson (51 commits)")[![ruudboon](https://avatars.githubusercontent.com/u/7444246?v=4)](https://github.com/ruudboon "ruudboon (45 commits)")[![sergeyklay](https://avatars.githubusercontent.com/u/1256298?v=4)](https://github.com/sergeyklay "sergeyklay (26 commits)")[![lisi4ok](https://avatars.githubusercontent.com/u/5786055?v=4)](https://github.com/lisi4ok "lisi4ok (10 commits)")[![kschnekenburger](https://avatars.githubusercontent.com/u/20068593?v=4)](https://github.com/kschnekenburger "kschnekenburger (6 commits)")[![kevcomparadise](https://avatars.githubusercontent.com/u/20068593?v=4)](https://github.com/kevcomparadise "kevcomparadise (6 commits)")[![shucream0117](https://avatars.githubusercontent.com/u/4360656?v=4)](https://github.com/shucream0117 "shucream0117 (2 commits)")[![angelxmoreno](https://avatars.githubusercontent.com/u/363479?v=4)](https://github.com/angelxmoreno "angelxmoreno (2 commits)")[![elcreator](https://avatars.githubusercontent.com/u/974975?v=4)](https://github.com/elcreator "elcreator (2 commits)")[![anantadwi13](https://avatars.githubusercontent.com/u/7195171?v=4)](https://github.com/anantadwi13 "anantadwi13 (2 commits)")[![hopeseekr](https://avatars.githubusercontent.com/u/1125541?v=4)](https://github.com/hopeseekr "hopeseekr (1 commits)")[![fesiong](https://avatars.githubusercontent.com/u/9912496?v=4)](https://github.com/fesiong "fesiong (1 commits)")[![marcuspmd](https://avatars.githubusercontent.com/u/1530934?v=4)](https://github.com/marcuspmd "marcuspmd (1 commits)")[![naoyukik](https://avatars.githubusercontent.com/u/10615135?v=4)](https://github.com/naoyukik "naoyukik (1 commits)")[![fagai](https://avatars.githubusercontent.com/u/1772112?v=4)](https://github.com/fagai "fagai (1 commits)")[![pengpixel](https://avatars.githubusercontent.com/u/60227821?v=4)](https://github.com/pengpixel "pengpixel (1 commits)")[![Drummi42](https://avatars.githubusercontent.com/u/30754833?v=4)](https://github.com/Drummi42 "Drummi42 (1 commits)")[![Arhell](https://avatars.githubusercontent.com/u/26163841?v=4)](https://github.com/Arhell "Arhell (1 commits)")[![Joilson](https://avatars.githubusercontent.com/u/1915448?v=4)](https://github.com/Joilson "Joilson (1 commits)")

---

Tags

autocompleteautocompletiondevtoolsideide-helperphalconphalcon-ide-stubsphpphpstormstubssyntax-highlightingautocompleteidephpstormnetbeansstubsstubDevtoolsphalconEclipse

###  Code Quality

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phalcon-ide-stubs/health.svg)

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

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[jetbrains/phpstorm-stubs

PHP runtime &amp; extensions header files for PhpStorm

1.4k27.7M68](/packages/jetbrains-phpstorm-stubs)[mis/yii2-ide-helper

Yii2 IDE Helper, generates correct PHPDocs for all components, to improve auto-completion.

1664.2k3](/packages/mis-yii2-ide-helper)

PHPackages © 2026

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