PHPackages                             phalcon/phalcon - 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/phalcon

ActiveLibrary[Framework](/categories/framework)

phalcon/phalcon
===============

Phalcon Framework

v6.0.0alpha3(1mo ago)2493.5k↑3310.5%50[15 issues](https://github.com/phalcon/phalcon/issues)[5 PRs](https://github.com/phalcon/phalcon/pulls)8MITPHPPHP &gt;=8.1 &lt;9.0CI passing

Since Sep 10Pushed 1mo ago25 watchersCompare

[ Source](https://github.com/phalcon/phalcon)[ Packagist](https://packagist.org/packages/phalcon/phalcon)[ GitHub Sponsors](https://github.com/phalcon)[ Fund](https://opencollective.com/phalcon)[ RSS](/packages/phalcon-phalcon/feed)WikiDiscussions v6.0.x Synced 4w ago

READMEChangelog (3)Dependencies (32)Versions (14)Used By (8)

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

[](#phalcon-framework)

[![Latest Version](https://camo.githubusercontent.com/42178bfc602d26346f84af1a51802026822254815a97bd22a05bd1f5b1c44688/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068616c636f6e2f7068616c636f6e3f696e636c7564655f70726572656c6561736573267374796c653d666c61742d737175617265)](https://packagist.org/packages/phalcon/phalcon)[![PHP Version](https://camo.githubusercontent.com/285e2bb1ff07f8206442aa9c72532e1664dac8ff3f7672584152182e8a4dc519/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7068616c636f6e2f7068616c636f6e3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phalcon/phalcon)[![Total Downloads](https://camo.githubusercontent.com/e95cc14bd1cd0fdde7c9adaac429ff5e1e6d8333bfa49908dcbf436865b4ddfa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068616c636f6e2f7068616c636f6e3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/phalcon/phalcon/stats)[![License](https://camo.githubusercontent.com/25247ce324c4e6c51a51a195084dcb80f4704ea11cce9fac681e0f46cd7afb62/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7068616c636f6e2f7068616c636f6e3f7374796c653d666c61742d737175617265)](LICENSE)

[![Phalcon CI](https://github.com/phalcon/phalcon/actions/workflows/main.yml/badge.svg?branch=v6.0.x)](https://github.com/phalcon/phalcon/actions/workflows/main.yml)[![Quality Gate Status](https://camo.githubusercontent.com/0668f2192fa6c5723b2c46f1e8738a1bfa7f35bb549bfc441a70addd66ccc087/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d7068616c636f6e5f7068616c636f6e266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/summary/new_code?id=phalcon_phalcon)[![Coverage](https://camo.githubusercontent.com/db99e1db58f73a2512dd29a20c3bec121f4c08f41bb4c94a8fee44e81160a822/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d7068616c636f6e5f7068616c636f6e266d65747269633d636f766572616765)](https://sonarcloud.io/summary/new_code?id=phalcon_phalcon)[![PDS Skeleton](https://camo.githubusercontent.com/50d01a5094afcc3a827c3cadaec43d23b2a256cb249f5fdd6e5ffdb53ea7971c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7064732d736b656c65746f6e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/php-pds/skeleton)

[![Discord](https://camo.githubusercontent.com/94fc3d9eff10556bb8115023b0f05a2b7465d01e863e0d7bb030e8fc51cfcf56/68747470733a2f2f696d672e736869656c64732e696f2f646973636f72642f3331303931303438383135323337353239373f6c6162656c3d446973636f7264266c6f676f3d646973636f7264267374796c653d666c61742d737175617265)](https://phalcon.io/discord)[![Contributors](https://camo.githubusercontent.com/9d120688de774a8b987e886578ce23cb4c96d5837803adaf77fb9bd9c415dddf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f7068616c636f6e2f7068616c636f6e3f7374796c653d666c61742d737175617265)](https://github.com/phalcon/phalcon/graphs/contributors)[![OpenCollective Backers](https://camo.githubusercontent.com/1acb79fee0629466a894dbb0ddcc926445e3846247d7d3a90cbe7c3e095c2ad8/68747470733a2f2f696d672e736869656c64732e696f2f6f70656e636f6c6c6563746976652f6261636b6572732f7068616c636f6e3f7374796c653d666c61742d737175617265)](#backers)[![OpenCollective Sponsors](https://camo.githubusercontent.com/36f68f0c187647faf6462977816c7d7ce114863c7fd4a6c466f64b36c8265dc2/68747470733a2f2f696d672e736869656c64732e696f2f6f70656e636f6c6c6563746976652f73706f6e736f72732f7068616c636f6e3f7374796c653d666c61742d737175617265)](#sponsors)

Phalcon is an open-source, full-stack web framework for PHP, focused on high performance, low overhead and a clean, expressive API.

Important

This repository is the **pure PHP** implementation of Phalcon (v6). Unlike [cphalcon](https://github.com/phalcon/cphalcon), it is **not** a C extension: there is nothing to compile and no PECL/PIE installation required - just add it to your project with Composer. Phalcon v6 is currently in **alpha**; APIs may change before the stable release.

A big thank you to [our Backers](https://opencollective.com/phalcon#backer); you rock!

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

[](#getting-started)

Phalcon is written in plain PHP with portability in mind, so it runs anywhere a supported PHP runtime is available - GNU/Linux, FreeBSD, macOS and Microsoft Windows.

Requirements
------------

[](#requirements)

- PHP `>= 8.1 < 9.0`
- `ext-fileinfo`, `ext-json`, `ext-mbstring`, `ext-pdo`, `ext-xml`

Optional extensions enable additional adapters and features:

ExtensionUsed by`ext-apcu``Cache\Adapter\Apcu`, `Storage\Adapter\Apcu``ext-gd``Image\Adapter\Gd``ext-igbinary``Storage\Serializer\Igbinary``ext-imagick``Image\Adapter\Imagick``ext-memcached``Cache\Adapter\Libmemcached`, `Session\Adapter\Libmemcached`, `Storage\Adapter\Libmemcached``ext-openssl``Encryption\Crypt``ext-pcntl``Queue\Consumer\Worker``ext-redis``Cache\Adapter\Redis`, `Session\Adapter\Redis`, `Storage\Adapter\Redis``ext-yaml``Config\Adapter\Yaml`Installation
------------

[](#installation)

Install the framework with [Composer](https://getcomposer.org/):

```
composer require phalcon/phalcon
```

While v6 is in alpha you may need to allow pre-release versions:

```
composer require phalcon/phalcon:^6.0@alpha
```

For detailed instructions see the [installation](https://docs.phalcon.io/6.0/installation/)page in the docs.

Generating API Documentation
----------------------------

[](#generating-api-documentation)

API documentation for the docs repository can be generated with the script in `bin/generate-api-docs.php`:

- Clone the phalcon repository.
- Check out the tag you would like to generate docs for.
- Run `php bin/generate-api-docs.php`.
- The generated `*.md` files contain the documentation, ready for publishing to the Phalcon [docs](https://github.com/phalcon/docs) repository.

Testing
-------

[](#testing)

Tests run with [PHPUnit](https://phpunit.de/):

```
composer test-unit          # unit tests
composer test-db-mysql      # MySQL database tests
composer test-db-pgsql      # PostgreSQL database tests
composer test-db-sqlite     # SQLite database tests
composer test-all           # everything
```

Static analysis and coding standards:

```
composer analyze            # PHPStan
composer cs                 # PHP_CodeSniffer (PSR-12)
```

Links
-----

[](#links)

### General

[](#general)

- [Contributing to Phalcon](CONTRIBUTING.md)
- [Official Documentation](https://docs.phalcon.io/)
- [Incubator](https://phalcon.io/incubator) - community-driven plugins and classes that extend the framework

### 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)
- [LinkedIn](https://phalcon.io/linkedin)
- [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)[![Repobeats analytics image](https://camo.githubusercontent.com/a09c2a44294924616e6046f39bfcfbed04166ad6c18ea8cf2c58e8f8717b30b5/68747470733a2f2f7265706f62656174732e6178696f6d2e636f2f6170692f656d6265642f326437336533643233306634613339616138653134346665623630383366316432633338666165632e737667 "Repobeats analytics image")](https://camo.githubusercontent.com/a09c2a44294924616e6046f39bfcfbed04166ad6c18ea8cf2c58e8f8717b30b5/68747470733a2f2f7265706f62656174732e6178696f6d2e636f2f6170692f656d6265642f326437336533643233306634613339616138653134346665623630383366316432633338666165632e737667)

License
-------

[](#license)

Phalcon is open-source software licensed under the MIT License.

Copyright © 2020–present, The Phalcon PHP Framework.

See the [LICENSE](LICENSE) file for details.

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance92

Actively maintained with recent releases

Popularity44

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 77.4% of commits — single point of failure

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 ~531 days

Total

5

Last Release

30d ago

Major Versions

v5.0.x-dev → v6.0.0alpha22026-06-19

PHP version history (2 changes)v6.0.0alpha1PHP &gt;=7.4 &lt;8.0

v6.0.0alpha2PHP &gt;=8.1 &lt;9.0

### Community

Maintainers

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

![](https://avatars.githubusercontent.com/u/7444246?v=4)[Ruud Boon](/maintainers/ruudboon)[@ruudboon](https://github.com/ruudboon)

---

Top Contributors

[![niden](https://avatars.githubusercontent.com/u/1073784?v=4)](https://github.com/niden "niden (2139 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (266 commits)")[![Jeckerson](https://avatars.githubusercontent.com/u/3289702?v=4)](https://github.com/Jeckerson "Jeckerson (230 commits)")[![GrzegorzDrozd](https://avatars.githubusercontent.com/u/1885137?v=4)](https://github.com/GrzegorzDrozd "GrzegorzDrozd (31 commits)")[![zsilbi](https://avatars.githubusercontent.com/u/3886658?v=4)](https://github.com/zsilbi "zsilbi (25 commits)")[![noone-silent](https://avatars.githubusercontent.com/u/1089817?v=4)](https://github.com/noone-silent "noone-silent (21 commits)")[![raicabogdan](https://avatars.githubusercontent.com/u/4399340?v=4)](https://github.com/raicabogdan "raicabogdan (17 commits)")[![SidRoberts](https://avatars.githubusercontent.com/u/1364214?v=4)](https://github.com/SidRoberts "SidRoberts (15 commits)")[![yergo](https://avatars.githubusercontent.com/u/6782399?v=4)](https://github.com/yergo "yergo (12 commits)")[![Arhell](https://avatars.githubusercontent.com/u/26163841?v=4)](https://github.com/Arhell "Arhell (3 commits)")[![jeijei4](https://avatars.githubusercontent.com/u/21228328?v=4)](https://github.com/jeijei4 "jeijei4 (3 commits)")[![tacxou](https://avatars.githubusercontent.com/u/12997062?v=4)](https://github.com/tacxou "tacxou (2 commits)")

---

Tags

hacktoberfestphalconphalcon-frameworkphpphpframework

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.4M2.2k](/packages/symfony-symfony)[laravel/framework

The Laravel Framework.

34.9k556.2M21.1k](/packages/laravel-framework)[cakephp/cakephp

The CakePHP framework

8.9k20.0M1.8k](/packages/cakephp-cakephp)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6943.5M443](/packages/drupal-core-recommended)[spiral/framework

Spiral, High-Performance PHP/Go Framework

2.1k2.3M71](/packages/spiral-framework)

PHPackages © 2026

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