# php-phalcon-ide-stubs
**Repository Path**: mirrors_glensc/php-phalcon-ide-stubs
## Basic Information
- **Project Name**: php-phalcon-ide-stubs
- **Description**: Phalcon IDE Stubs
- **Primary Language**: Unknown
- **License**: BSD-3-Clause
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-03-02
- **Last Updated**: 2026-01-31
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# Phalcon IDE Stubs
This repo provides the most complete Phalcon Framework stubs which enables autocompletion in modern IDEs.
## Installing via Composer
```bash
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](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
1. Generate stubs inside `cphalcon` project
```bash
php zephir.phar fullclean
php zephir.phar generate
php zephir.phar stubs
```
2. Replace `.zep` inside generated `.php` files
```bash
find ide/ -type f -exec rename 's/\.zep//' '{}' \;
```
3. Mass fix code style
```bash
# 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
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)]
## Backers
Support us with a monthly donation and help us continue our activities. [[Become a backer](https://opencollective.com/phalcon#backer)]
## License
Phalcon IDE Stubs is open-sourced software licensed under the New BSD License. © Phalcon Framework Team and contributors.