phalcon/ide-stubs

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

Package info

github.com/phalcon/ide-stubs

Homepage

pkg:composer/phalcon/ide-stubs

Fund package maintenance!

phalcon

Open Collective

Statistics

Installs: 3 288 731

Dependents: 141

Suggesters: 5

Stars: 164

Open Issues: 7

v5.16.0 2026-06-22 18:56 UTC

Requires

  • php: >=8.1

Suggests

None

Provides

None

Conflicts

None

Replaces

None

BSD-3-Clause 3eea65770216ee93d349802f6e8d8711478d9a5c

stubautocompletestubsphalconidephpstormnetbeansDevtoolsEclipse


README

👁 PDS Skeleton
👁 Phalcon CI

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

Installing via Composer

composer require --dev phalcon/ide-stubs

Installing via Git

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

Read before create PR with fix

All stubs are generated from cphalcon project via Zephir stubs.
Please find the problem inside Phalcon's Zephir code and submit pull request with fix here.

How to update stubs

  1. Generate stubs inside cphalcon project
php zephir.phar fullclean
php zephir.phar generate
php zephir.phar stubs
  1. Replace .zep inside generated .php files
find ide/ -type f -exec rename 's/\.zep//' '{}' \;
  1. Mass fix code style
# Pick latest .phar from here: https://github.com/squizlabs/PHP_CodeSniffer/releases
php phpcbf.phar --standard=PSR12 src
  1. Copy all files from ide/%version%/Phalcon/ folder in cphalcon project
  2. Paste inside src/ folder in ide-stubs project

Sponsors

Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]

👁 Image

Backers

Support us with a monthly donation and help us continue our activities. [Become a backer]

👁 Image

License

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