phalcon/ide-stubs

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

Fund package maintenance!
phalcon
Open Collective

Installs: 902 494

Dependents: 105

Suggesters: 3

Security: 0

Stars: 146

Watchers: 16

Forks: 37

Open Issues: 5

v5.0.0-alpha.6 2021-09-17 22:21 UTC

README

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
vendor/bin/phpcbf
  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]

68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7068616c636f6e2f74696572732f73706f6e736f72732e7376673f6176617461724865696768743d34382677696474683d383030

Backers

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

68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7068616c636f6e2f74696572732f6261636b6572732e7376673f6176617461724865696768743d34382677696474683d383030266865696768743d323030

License

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