phalcon / ide-stubs
The most complete Phalcon Framework IDE stubs library which enables autocompletion in modern IDEs.
Fund package maintenance!
phalcon
Open Collective
Installs: 2 359 108
Dependents: 146
Suggesters: 4
Security: 0
Stars: 157
Watchers: 18
Forks: 50
Open Issues: 3
Requires
- php: >=7.4
Requires (Dev)
- squizlabs/php_codesniffer: 3.*
- vimeo/psalm: ^3.4
- dev-master
- v5.8.0
- v5.7.0
- v5.6.2
- v5.6.1
- v5.6.0
- v5.5.0
- 5.4.x-dev
- v5.4.0
- v5.3.1
- v5.3.0
- v5.2.3
- v5.2.2
- v5.2.1
- v5.2.0
- v5.1.4
- v5.1.3
- v5.1.2
- v5.1.0
- v5.0.1
- v5.0.0
- v5.0.0-RC1
- v5.0.0-beta.3
- v5.0.0beta2
- v5.0.0-beta.1
- v5.0.0-alpha.7
- v5.0.0-alpha.6
- v5.0.0-alpha.5
- v5.0.0-alpha.4
- v5.0.0-alpha.3
- v5.0.0-alpha.2
- v4.1.0
- v4.0.6
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.0
- v4.0.0-rc.3
- v4.0.0-rc.2
- v4.0.0-rc.1
- v4.0.0-beta.2
- v4.0.0-beta.1
- v4.0.0-alpha.4
- v3.4.3
- v3.4.2
- v3.4.1
- v3.4.0
- v3.3.2
- v3.3.1
- v3.3.0
- v3.2.5
- v3.2.4
- v3.2.3
- v3.2.2
- v3.2.1
- v3.2.0
- v3.1.2
- dev-revert-97-master
This package is auto-updated.
Last update: 2024-10-18 23:09:03 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
- Clone the Phalcon IDE Stubs repository in a common location.
- 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
- Generate stubs inside
cphalcon
project
php zephir.phar fullclean php zephir.phar generate php zephir.phar stubs
- Replace
.zep
inside generated.php
files
find ide/ -type f -exec rename 's/\.zep//' '{}' \;
- Mass fix code style
# Pick latest .phar from here: https://github.com/squizlabs/PHP_CodeSniffer/releases
php phpcbf.phar --standard=PSR12 src
- Copy all files from
ide/%version%/Phalcon/
folder incphalcon
project - Paste inside
src/
folder inide-stubs
project
Sponsors
Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]
Backers
Support us with a monthly donation and help us continue our activities. [Become a backer]
License
Phalcon IDE Stubs is open-sourced software licensed under the New BSD License. © Phalcon Framework Team and contributors.