PHPackages                             phalcon/cphalcon - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. phalcon/cphalcon

ActivePhp-ext[Framework](/categories/framework)

phalcon/cphalcon
================

Phalcon is an open source web framework delivered as a C extension for the PHP language providing high performance and lower resource consumption.

v5.16.0(1w ago)10.8k245.1k↑69.9%1.9k[24 issues](https://github.com/phalcon/cphalcon/issues)[7 PRs](https://github.com/phalcon/cphalcon/pulls)1BSD-3-ClausePHPPHP &gt;=8.1CI failing

Since Jul 29Pushed 3d ago600 watchersCompare

[ Source](https://github.com/phalcon/cphalcon)[ Packagist](https://packagist.org/packages/phalcon/cphalcon)[ GitHub Sponsors](https://github.com/phalcon)[ Fund](https://opencollective.com/phalcon)[ RSS](/packages/phalcon-cphalcon/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (39)Versions (133)Used By (1)

Phalcon Framework
=================

[](#phalcon-framework)

[![Latest Version](https://camo.githubusercontent.com/ebd91431bda040374ed59a43b84aca2d56b3b43b8288a2a9c6f385b5bad1e02e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068616c636f6e2f637068616c636f6e3f7374796c653d666c61742d737175617265266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/phalcon/cphalcon)[![PHP Version](https://camo.githubusercontent.com/37f5b7611a01445bfd25394178bd9fa2c04fd8630e9bd8344bc35b82b7bcea25/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7068616c636f6e2f637068616c636f6e3f7374796c653d666c61742d737175617265266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/phalcon/cphalcon)[![Total Downloads](https://camo.githubusercontent.com/69f531b8172b72ec60799af6a3decdbbf16ee453f426cfded1d1a243a381eac0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068616c636f6e2f637068616c636f6e3f7374796c653d666c61742d737175617265266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/phalcon/cphalcon/stats)[![License](https://camo.githubusercontent.com/cb538f434d749fcf57cde4bdcc58be4fde3f8f5a4e107f3161ff39c0ac874c6b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7068616c636f6e2f637068616c636f6e3f7374796c653d666c61742d737175617265266c6f676f3d6f70656e736f75726365696e6974696174697665266c6f676f436f6c6f723d7768697465)](https://github.com/phalcon/cphalcon/blob/master/LICENSE.txt)

[![Phalcon 5.x CI](https://github.com/phalcon/cphalcon/actions/workflows/main.yml/badge.svg?branch=5.0.x)](https://github.com/phalcon/cphalcon/actions/workflows/main.yml)[![Quality Gate (phalcon)](https://camo.githubusercontent.com/0668f2192fa6c5723b2c46f1e8738a1bfa7f35bb549bfc441a70addd66ccc087/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d7068616c636f6e5f7068616c636f6e266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/summary/new_code?id=phalcon_phalcon)[![Coverage (phalcon)](https://camo.githubusercontent.com/db99e1db58f73a2512dd29a20c3bec121f4c08f41bb4c94a8fee44e81160a822/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d7068616c636f6e5f7068616c636f6e266d65747269633d636f766572616765)](https://sonarcloud.io/summary/new_code?id=phalcon_phalcon)

[![Discord](https://camo.githubusercontent.com/94fc3d9eff10556bb8115023b0f05a2b7465d01e863e0d7bb030e8fc51cfcf56/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3331303931303438383135323337353239373f6c6162656c3d446973636f7264266c6f676f3d646973636f7264267374796c653d666c61742d737175617265)](https://phalcon.io/discord)[![Contributors](https://camo.githubusercontent.com/646806b29bea894a3efa0cd781f5332e2f821e61fc682757964273b4c1808eb0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f7068616c636f6e2f637068616c636f6e3f7374796c653d666c61742d737175617265266c6f676f3d676974687562266c6f676f436f6c6f723d7768697465)](https://github.com/phalcon/cphalcon/graphs/contributors)[![Phalcon Backers](https://camo.githubusercontent.com/ae1e0ead5c50a99ee7ff5c6b234334c0ba4715a8aca4267d011d12c9da114424/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068616c636f6e2d6261636b6572732d3939646463302e7376673f267374796c653d666c61742d737175617265266c6f676f3d646174613a696d6167652f706e673b6261736536342c6956424f5277304b47676f414141414e5355684555674141414134414141414f43415941414141665343335241414141475852465748525462325a30643246795a5142425a4739695a53424a6257466e5a564a6c5957523563636c6c5041414141795a70564668305745314d4f6d4e76625335685a4739695a53353462584141414141414144772f654842685932746c644342695a576470626a30693737752f496942705a443069567a564e4d4531775132566f61556836636d5654656b355559337072597a6c6b496a382b494478344f6e68746347316c6447456765473173626e4d366544306959575276596d5536626e4d366257563059533869494867366547317764477339496b466b62324a6c4946684e5543424462334a6c494455754e69316a4d545179494463354c6a45324d446b794e4377674d6a41784e7938774e7938784d7930774d546f774e6a6f7a4f5341674943416749434167496a346750484a6b5a6a70535245596765473173626e4d36636d526d50534a6f644852774f693876643364334c6e637a4c6d39795a7938784f546b354c7a41794c7a49794c584a6b5a69317a6557353059586774626e4d6a496a346750484a6b5a6a70455a584e6a636d6c7764476c76626942795a47593659574a76645851394969496765473173626e4d366547317750534a6f644852774f693876626e4d7559575276596d5575593239744c336868634338784c6a41764969423462577875637a70346258424e545430696148523063446f764c32357a4c6d466b62324a6c4c6d4e7662533934595841764d5334774c3231744c79496765473173626e4d36633352535a575939496d6830644841364c793975637935685a4739695a53356a62323076654746774c7a45754d43397a56486c775a5339535a584e7664584a6a5a564a6c5a694d694948687463447044636d566864473979564739766244306951575276596d5567554768766447397a6147397749454e44494449774d5467674b466470626d527664334d70496942346258424e5454704a626e4e305957356a5a556c4550534a346258417561576c6b4f6a6333525441304e544d314d4545314f444578525546424e454e454f554e445245513152444a4751304642496942346258424e5454704562324e316257567564456c4550534a34625841755a476c6b4f6a6333525441304e544d324d4545314f444578525546424e454e454f554e445245513152444a4751304642496a3467504868746345314e4f6b526c636d6c325a575247636d397449484e30556d566d4f6d6c7563335268626d4e6c53555139496e687463433570615751364e7a64464d4451314d7a4d77515455344d544646515545305130513551304e45524456454d6b5a445155456949484e30556d566d4f6d5276593356745a57353053555139496e68746343356b615751364e7a64464d4451314d7a5177515455344d544646515545305130513551304e45524456454d6b5a44515545694c7a3467504339795a4759365247567a59334a70634852706232342b49447776636d526d4f6c4a45526a3467504339344f6e68746347316c6447452b4944772f654842685932746c6443426c626d5139496e4969507a346d546e4f6d41414143796b6c4551565234326e78537955385463526a3966764f626151734d6853355557384143556b4732734571694c4347526930533267786f50476d50384234784861364948505267306b5a68346b735167496845354343596d4b43344e725445786c677168624c554c444a31705a576d686e62597a3477426539535576332b5739764f5239447a58553167456d53626836377a70597173706f565a4c6f4a4142654169424241676e3249496b43694a49496c4b79623879374470635a4f494249707353636533576c394f7a67472f733267666b644d334a516b4e4362724e66416645507165316f417158546e676366783838626e2f3156456d4646794c6b616d7a6374616b6e466a2b54364f68725a484a76337736544275314637354f6648777a5a4f3158324f335473536a77745a52434f53567275684167494e41426b637739594d2b58373974704b564754323162655470763046447633792b7836353643574635636753362f4a4d4f626c6e74744e387661594a4b7749736f48622b4132312b615741757a72616f4d4a6335457179305172426b46616962537957653045512b4f5947782f6755614856616c44427044434e7a4d38504f454375754d77486f7244774a6942455a34424d38524461546555376e7a484259326a30566f754c6764613941614e594c3864554e614f383934392f4a775356634e424c6a493345597548494c63463170485452564e344742316d36374a585a4b424f6c345562625261436b735271596143794972443047474c6f74754d4a66564c367a37544477413031505676496b5a6867474f356341393734627839784f624964337538773265502b4c6659717530524470574377726b6d31384a7030746b516e645933784a6b67756537616c6f66457953423466586f4b447a7165346a58466a3171546248354e6b4b3475376d34576c6d596155414c342f5a6e6b3331444e54386d70303855454e706a6752486233623157535a476d514a4647676c4b767870614f6c687675707a5a7263316b74634c714e37512b3254344c587635437555696e7a46326664712b73506e676a73576e42773331687676516a796e67446f744f535333656e6948523742304e754e62623435517353534661636768536c796a574e59344a6967484b4c612f79504a427a6d49794151564a555544766e6c6a6766472b567138766f375a55466c704258347435516c5a4d59522b536949504a534166374a58664345516a377730425343736751565636575737326a6c716943764a7743504f31617a493778385356616d516e4558344d6f697676336a774144414139734f62644362714d6a4141414141456c46546b5375516d4343)](https://github.com/phalcon/cphalcon/blob/master/BACKERS.md)[![OpenCollective Backers](https://camo.githubusercontent.com/b0e7e54861423843ca8c0b82b3cbdbd7e43557493dee35be2c721a9cc21107a1/68747470733a2f2f696d672e736869656c64732e696f2f6f70656e636f6c6c6563746976652f6261636b6572732f7068616c636f6e3f7374796c653d666c61742d737175617265266c6f676f3d6f70656e636f6c6c656374697665266c6f676f436f6c6f723d7768697465)](#backers)[![OpenCollective Sponsors](https://camo.githubusercontent.com/09f0801da6213d104e2283e28a70b5b5c9aa25076b9211442e403187c64ca12b/68747470733a2f2f696d672e736869656c64732e696f2f6f70656e636f6c6c6563746976652f73706f6e736f72732f7068616c636f6e3f7374796c653d666c61742d737175617265266c6f676f3d6f70656e636f6c6c656374697665266c6f676f436f6c6f723d7768697465)](#sponsors)

[![5.0 Pull Requests](https://camo.githubusercontent.com/4ad348d71decb65dff381a827991d1642b82492507c8708ff9bde39d096bd765/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f7068616c636f6e2f637068616c636f6e2f352e303f636f6c6f723d627269676874677265656e267374796c653d666c61742d737175617265266c6f676f3d676974687562266c6f676f436f6c6f723d7768697465)](https://github.com/phalcon/cphalcon/pulls?q=is%3Apr+is%3Aopen+label%3A5.0)[![5.0 Issues](https://camo.githubusercontent.com/15a79e79715d3ce1b472e6194fd42293e208d485aab8b26b616917d98e995e75/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d7261772f7068616c636f6e2f637068616c636f6e2f352e303f636f6c6f723d79656c6c6f77267374796c653d666c61742d737175617265266c6f676f3d676974687562266c6f676f436f6c6f723d7768697465)](https://github.com/phalcon/cphalcon/issues?q=is%3Aissue+is%3Aopen+label%3A5.0)

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](https://github.com/phalcon/cphalcon/blob/master/BACKERS.md); you rock!

Getting Started
---------------

[](#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
------------

[](#installation)

### Using PIE (recommended)

[](#using-pie-recommended)

[PIE](https://github.com/php/pie) is the modern PHP extension installer:

```
pie install phalcon/cphalcon
```

### Using PECL

[](#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.

```
pecl install phalcon
```

### From source

[](#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-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.

Links
-----

[](#links)

### General

[](#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

[](#support)

- [Discussions](https://phalcon.io/discussions)
- [Discord](https://phalcon.io/discord)
- [Stack Overflow](https://phalcon.io/so)

### Social Media

[](#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)

Sponsors
--------

[](#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)\]

[![OpenCollective Sponsors](https://camo.githubusercontent.com/da837e5075acfc242386b1548662969c052d68581895fde61b0142e91d5d8520/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7068616c636f6e2f74696572732f73706f6e736f72732e7376673f6176617461724865696768743d34382677696474683d383030)](https://opencollective.com/phalcon/#contributors)Backers
-------

[](#backers)

Support us with a monthly donation and help us continue our activities. \[[Become a backer](https://opencollective.com/phalcon#backer)\]

[![OpenCollective Backers](https://camo.githubusercontent.com/a1f3712dc35aac0bbf91f4a4f0f8c23d47355312bee599d5938ca1fa89f4a9fa/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7068616c636f6e2f74696572732f6261636b6572732e7376673f6176617461724865696768743d34382677696474683d383030266865696768743d323030)](https://opencollective.com/phalcon/#contributors)License
-------

[](#license)

Phalcon is open-source software licensed under the BSD 3-Clause License.

Copyright © 2011–present, Phalcon Team.

See the [LICENSE.txt](https://github.com/phalcon/cphalcon/blob/master/LICENSE.txt) file for details. Additional licenses of packages that Phalcon uses, is inspired by, or has adapted are located in the [3rdparty/licenses](https://github.com/phalcon/cphalcon/blob/master/3rdparty/licenses) directory.

###  Health Score

78

—

ExcellentBetter than 100% of packages

Maintenance95

Actively maintained with recent releases

Popularity68

Solid adoption and visibility

Community45

Growing community involvement

Maturity89

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~33 days

Recently: every ~6 days

Total

109

Last Release

0d ago

Major Versions

v4.1.2 → v5.0.0-alpha.22021-05-05

v4.1.3 → v5.0.0beta32022-02-06

4.0.x-dev → v5.1.02022-11-01

4.2.x-dev → v5.6.12024-02-08

v5.11.1 → 7.0.x-dev2026-04-27

PHP version history (7 changes)v3.0.0PHP &gt;=5.5

v4.0.0-alpha1PHP &gt;=7.0 &lt;8.0

v4.0.0-alpha.2PHP &gt;=7.2 &lt;8.0

v5.0.0-alpha.1PHP &gt;=7.4

v5.5.0PHP &gt;=8.0

5.9.0PHP &gt;=8.1

7.0.x-devPHP &gt;=8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1221505?v=4)[The Phalcon PHP Framework](/maintainers/phalcon)[@phalcon](https://github.com/phalcon)

---

Top Contributors

[![niden](https://avatars.githubusercontent.com/u/1073784?v=4)](https://github.com/niden "niden (5705 commits)")[![sergeyklay](https://avatars.githubusercontent.com/u/1256298?v=4)](https://github.com/sergeyklay "sergeyklay (2161 commits)")[![sjinks](https://avatars.githubusercontent.com/u/7810770?v=4)](https://github.com/sjinks "sjinks (1651 commits)")[![andresgutierrez](https://avatars.githubusercontent.com/u/213590?v=4)](https://github.com/andresgutierrez "andresgutierrez (1490 commits)")[![Jeckerson](https://avatars.githubusercontent.com/u/3289702?v=4)](https://github.com/Jeckerson "Jeckerson (903 commits)")[![ruudboon](https://avatars.githubusercontent.com/u/7444246?v=4)](https://github.com/ruudboon "ruudboon (682 commits)")[![dreamsxin](https://avatars.githubusercontent.com/u/314295?v=4)](https://github.com/dreamsxin "dreamsxin (426 commits)")[![SidRoberts](https://avatars.githubusercontent.com/u/1364214?v=4)](https://github.com/SidRoberts "SidRoberts (423 commits)")[![AlexNDRmac](https://avatars.githubusercontent.com/u/29776808?v=4)](https://github.com/AlexNDRmac "AlexNDRmac (211 commits)")[![mruz](https://avatars.githubusercontent.com/u/2629882?v=4)](https://github.com/mruz "mruz (163 commits)")[![jenovateurs](https://avatars.githubusercontent.com/u/3491729?v=4)](https://github.com/jenovateurs "jenovateurs (156 commits)")[![zsilbi](https://avatars.githubusercontent.com/u/3886658?v=4)](https://github.com/zsilbi "zsilbi (152 commits)")[![Arhell](https://avatars.githubusercontent.com/u/26163841?v=4)](https://github.com/Arhell "Arhell (126 commits)")[![carvajaldiazeduar](https://avatars.githubusercontent.com/u/1197509?v=4)](https://github.com/carvajaldiazeduar "carvajaldiazeduar (123 commits)")[![Jurigag](https://avatars.githubusercontent.com/u/10086991?v=4)](https://github.com/Jurigag "Jurigag (101 commits)")[![ekmst](https://avatars.githubusercontent.com/u/20942748?v=4)](https://github.com/ekmst "ekmst (69 commits)")[![ovr](https://avatars.githubusercontent.com/u/572096?v=4)](https://github.com/ovr "ovr (66 commits)")[![emiliodeg](https://avatars.githubusercontent.com/u/1172386?v=4)](https://github.com/emiliodeg "emiliodeg (66 commits)")[![Cinderella-Man](https://avatars.githubusercontent.com/u/1019893?v=4)](https://github.com/Cinderella-Man "Cinderella-Man (63 commits)")[![KorsaR-ZN](https://avatars.githubusercontent.com/u/579410?v=4)](https://github.com/KorsaR-ZN "KorsaR-ZN (60 commits)")

---

Tags

ext-phalconextensionframeworkhacktoberfestphalconphalcon-extensionphalcon-frameworkphpphp-extensionframeworkmvcextensionphalconhigh load

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phalcon-cphalcon/health.svg)

```
[![Health](https://phpackages.com/badges/phalcon-cphalcon/health.svg)](https://phpackages.com/packages/phalcon-cphalcon)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
