Get Phalcon · v5
The stubs give your IDE and static analysis tools the classes and methods of the C extension.
Want pure PHP, with no extension? Phalcon v6 has the same API.
Install v6 with Composer →IDE stubs are for v5 only. v6 ships PHP source, so your IDE reads it directly.
composer require --dev phalcon/ide-stubs:^v5.0 To use the stubs with static analysis tools, see static analysis in the docs. The source is in phalcon/ide-stubs.
The video below shows how to enable the stubs in PhpStorm.
Can't see the video? Watch it on YouTube.