https://github.com/phalcon/cphalcon
High performance, full-stack PHP framework delivered as a C extension.
https://github.com/phalcon/cphalcon
ext-phalcon extension framework hacktoberfest phalcon phalcon-extension phalcon-framework php php-extension
Last synced: about 1 month ago
JSON representation
High performance, full-stack PHP framework delivered as a C extension.
- Host: GitHub
- URL: https://github.com/phalcon/cphalcon
- Owner: phalcon
- License: bsd-3-clause
- Created: 2011-11-26T05:52:50.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2026-10-12T01:25:00.000Z (about 2 months ago)
- Last Synced: 2026-10-12T09:29:23.812Z (about 2 months ago)
- Topics: ext-phalcon, extension, framework, hacktoberfest, phalcon, phalcon-extension, phalcon-framework, php, php-extension
- Language: PHP
- Homepage: https://phalcon.io
- Size: 269 MB
- Stars: 10,817
- Watchers: 595
- Forks: 1,931
- Open Issues: 45
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG-5.0.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-php - phalcon/cphalcon - High performance, full-stack PHP framework delivered as a C extension. (Web / Web Frameworks)
- awesome-php-extensions - cphalcon - 网站框架 (网站框架)
- github-ultimate-repos - phalcon/cphalcon - | ⭐ 10,822★ | 🍴 1,931 | 💻 `PHP`🔗 <https://github.com/phalcon/cphalcon>📝 High performance, full-stack PHP framework delivered as a C extension.⚙️ `Declarative YAML manifest -> etcd Raft consensus quorum -> controller-runtime reconciliation loop -> CRI container runtime & CNI network routing.` (📜 Master Categorized Repository Directory (100% Clickable Links) / [39] CLOUD-NATIVE INFRASTRUCTURE, KUBERNETES, CONTAINERS & SERVICE MESHES)
- awesome-arsenal - Phalcon - 高性能 PHP 框架作为 C 扩展提供。 (武器库 / 后端)
- php-awesome - Phalcon - 扩展型框架 (基础框架)
- awesome-php - phalcon/cphalcon - 高性能的C扩展的框架 (框架( Frameworks ))
README
# Phalcon Framework
[![Latest Version][packagist-version-badge]][packagist-version-link]
[![PHP Version][php-version-badge]][packagist-version-link]
[![Total Downloads][packagist-downloads-badge]][packagist-downloads-link]
[![License][license-badge]][license-link]
[![Phalcon 5.x CI][phalcon-5x-badge]][action-5x-link]
[![Quality Gate (phalcon)][sonar-quality-badge]][sonar-link]
[![Coverage (phalcon)][sonar-coverage-badge]][sonar-link]
[![Discord][discord-badge]][discord-link]
[![Contributors][contributors-badge]][contributors-link]
[![OpenCollective Backers][oc-backers-badge]][backers-link]
[![OpenCollective Sponsors][oc-sponsors-badge]][sponsors-link]
[![5.0 Pull Requests][phalcon-5x-pr-badge]][phalcon-5x-pr-link]
[![5.0 Issues][phalcon-5x-issue-badge]][phalcon-5x-issue-link]
Phalcon is an open-source web framework delivered as a C extension for PHP, providing high performance and lower resource consumption.
A big thank you to our Backers; you rock!
## Getting Started
Phalcon is written in [Zephir/C](https://zephir-lang.com/) with platform independence in mind.
As a result, Phalcon is available on Microsoft Windows, GNU/Linux, FreeBSD and macOS.
You can either download a binary package for the system of your choice or build it from source.
## Installation
### Using PIE (recommended)
[PIE](https://github.com/php/pie) is the modern PHP extension installer:
```bash
pie install phalcon/cphalcon
```
### Using PECL
> [!IMPORTANT]
> PECL has been deprecated, so users should switch to installing Phalcon with PIE. We will keep releasing on PECL until PECL is retired or v5.x reaches its end of life.
```bash
pecl install phalcon
```
### From source
For detailed installation instructions you can check our [installation](https://docs.phalcon.io/latest/installation/) page in the docs.
## Generating API Documentation
Generating new documentation files for docs repository can be done using the script in bin/generate-api-docs.php.
Steps:
- Clone the phalcon repo
- Checkout the tag you would like to generate docs for.
- Run `php bin/generate-api-docs.php`
- The generated `*.md` files will contain the documentation
- For publishing to the Phalcon website this [repo](https://github.com/phalcon/docs/tree/5.0/api) is used.
## Sponsors and backers
These sponsors and backers support Phalcon and Zephir. To join them, become a sponsor or a backer on [Open Collective](https://opencollective.com/phalcon) or [GitHub Sponsors](https://phalcon.io/fund).
### Sponsors
### Partners
### Supporters
### Backers
## Core Team
[Anton](https://github.com/Jeckerson), [Nikolaos](https://github.com/niden)

## Links
### General
* [Contributing to Phalcon](CONTRIBUTING.md)
* [Official Documentation](https://docs.phalcon.io/)
* [Zephir](https://zephir-lang.com/) - the language Phalcon is written in
* [Incubator](https://phalcon.io/incubator) - community-driven plugins and classes that extend the framework (written in PHP)
### Support
* [Discussions](https://phalcon.io/discussions)
* [Discord](https://phalcon.io/discord)
* [Stack Overflow](https://phalcon.io/so)
### Social Media
* [Telegram](https://phalcon.io/telegram)
* [Gab](https://phalcon.io/gab)
* [LinkedIn](https://phalcon.io/linkedin)
* [MeWe](https://phalcon.io/mewe)
* [Facebook](https://phalcon.io/fb)
* [Twitter](https://phalcon.io/t)
## License
Phalcon is open-source software licensed under the BSD 3-Clause License.
Copyright © 2011-present, Phalcon Team.
See the [LICENSE](https://github.com/phalcon/cphalcon/blob/master/LICENSE.txt) file or [license.phalcon.io](https://license.phalcon.io) for details. The licenses of the packages that Phalcon uses, is inspired by, or has adapted are also in the [3rdparty/licenses](https://github.com/phalcon/cphalcon/blob/master/3rdparty/licenses) directory.
[packagist-version-badge]: https://img.shields.io/packagist/v/phalcon/cphalcon?style=flat-square&logo=packagist&logoColor=white
[packagist-version-link]: https://packagist.org/packages/phalcon/cphalcon
[packagist-downloads-badge]: https://img.shields.io/packagist/dt/phalcon/cphalcon?style=flat-square&logo=packagist&logoColor=white
[packagist-downloads-link]: https://packagist.org/packages/phalcon/cphalcon/stats
[php-version-badge]: https://img.shields.io/packagist/php-v/phalcon/cphalcon?style=flat-square&logo=php&logoColor=white
[license-badge]: https://img.shields.io/github/license/phalcon/cphalcon?style=flat-square&logo=opensourceinitiative&logoColor=white
[license-link]: https://github.com/phalcon/cphalcon/blob/master/LICENSE.txt
[phalcon-5x-badge]: https://github.com/phalcon/cphalcon/actions/workflows/main.yml/badge.svg?branch=5.0.x
[action-5x-link]: https://github.com/phalcon/cphalcon/actions/workflows/main.yml
[sonar-quality-badge]: https://sonarcloud.io/api/project_badges/measure?project=phalcon_phalcon&metric=alert_status
[sonar-coverage-badge]: https://sonarcloud.io/api/project_badges/measure?project=phalcon_phalcon&metric=coverage
[sonar-link]: https://sonarcloud.io/summary/new_code?id=phalcon_phalcon
[discord-link]: https://phalcon.io/discord
[contributors-link]: https://github.com/phalcon/cphalcon/graphs/contributors
[backers-link]: #backers
[sponsors-link]: #sponsors
[phalcon-5x-pr-link]: https://github.com/phalcon/cphalcon/pulls?q=is%3Apr+is%3Aopen+label%3A5.0
[phalcon-5x-issue-link]: https://github.com/phalcon/cphalcon/issues?q=is%3Aissue+is%3Aopen+label%3A5.0
[discord-badge]: https://img.shields.io/discord/310910488152375297?label=Discord&logo=discord&style=flat-square
[contributors-badge]: https://img.shields.io/github/contributors/phalcon/cphalcon?style=flat-square&logo=github&logoColor=white
[oc-backers-badge]: https://img.shields.io/opencollective/backers/phalcon?style=flat-square&logo=opencollective&logoColor=white
[oc-sponsors-badge]: https://img.shields.io/opencollective/sponsors/phalcon?style=flat-square&logo=opencollective&logoColor=white
[phalcon-5x-pr-badge]: https://img.shields.io/github/issues-pr/phalcon/cphalcon/5.0?color=brightgreen&style=flat-square&logo=github&logoColor=white
[phalcon-5x-issue-badge]: https://img.shields.io/github/issues-raw/phalcon/cphalcon/5.0?color=yellow&style=flat-square&logo=github&logoColor=white