Phalcon Framework [![Phalcon CI][phalcon-ci-badge]][phalcon-ci-link] [![Discord][discord-badge]](https://phalcon.io/discord) [![Contributors][contributors-badge]](https://github.com/phalcon/phalcon/graphs/contributors) [![OpenCollective][oc-backers-badge]](#backers) [![OpenCollective][oc-sponsors-badge]](#sponsors) Phalcon is an open source, full-stack web framework for PHP, focused on high performance, low overhead and a clean, expressive API. >…
Phalcon Framework
[![Phalcon CI][phalcon-ci-badge]][phalcon-ci-link]



[![Discord][discord-badge]](https://phalcon.io/discord)
[![Contributors][contributors-badge]](https://github.com/phalcon/phalcon/graphs/contributors)
[![OpenCollective][oc-backers-badge]](#backers)
[![OpenCollective][oc-sponsors-badge]](#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, 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; you rock!
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
- PHP
>= 8.1 < 9.0 ext-fileinfo,ext-json,ext-mbstring,ext-pdo,ext-xml
| Extension | Used 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-redis | Cache\Adapter\Redis, Session\Adapter\Redis, Storage\Adapter\Redis |
| ext-yaml | Config\Adapter\Yaml |
Installation
Install the framework with Composer:
bash
composer require phalcon/phalcon
While v6 is in alpha you may need to allow pre-release versions:
bash
composer require phalcon/phalcon:^6.0@alpha
For detailed instructions see the installation
page in the docs.
Generating API Documentation
API documentation for the docs repository can be generated with the script inbin/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
*.mdfiles contain the documentation, ready for publishing to
Testing
Tests run with PHPUnit:
bash
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:
bash
composer analyze # PHPStan
composer cs # PHP_CodeSniffer (PSR-12)
Links
General
- [Contributing to Phalcon](CONTRIBUTING.md)
- Official Documentation
- Incubator - Community driven plugins and classes extending the framework
Support
Social Media
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 is open source software licensed under the MIT License.
Copyright © 2020-present, The Phalcon PHP Framework.
See the [LICENSE](LICENSE) file for more.
<!-- External links should be here -->
[phalcon-ci-badge]: https://github.com/phalcon/phalcon/actions/workflows/main.yml/badge.svg?branch=v6.0.x
[phalcon-ci-link]: https://github.com/phalcon/phalcon/actions/workflows/main.yml
[discord-badge]: https://img.shields.io/discord/310910488152375297?label=Discord&logo=discord&style=flat-square
[contributors-badge]: https://img.shields.io/github/contributors/phalcon/phalcon?style=flat-square
[oc-backers-badge]: https://img.shields.io/opencollective/backers/phalcon?style=flat-square
[oc-sponsors-badge]: https://img.shields.io/opencollective/sponsors/phalcon?style=flat-square
-
cphalcon
High performance, full-stack PHP framework delivered as a C extension.
PHP ★ 11k 5h agoExplain → -
phalcon-devtools
Phalcon Developer Tools
JavaScript ★ 1.3k 2mo agoExplain → -
mvc
Phalcon MVC Examples
PHP ★ 821 2y agoExplain → -
incubator
Incubator adapters/functionality for the Phalcon PHP Framework
PHP ★ 722 3y agoExplain → -
awesome-phalcon
A curated list of awesome Phalcon libraries and resources
Ruby ★ 612 2y agoExplain → -
vokuro
Sample application for Phalcon Framework (Acl, Auth, Security)
PHP ★ 368 2y agoExplain → -
forum
Phalcon official Forum
PHP ★ 365 5y agoExplain → -
invo
Sample application for the Phalcon PHP Framework
PHP ★ 346 2y agoExplain → -
phalcon
[WIP] Phalcon Framework. Work will continue after release of v5.0
PHP ★ 246 5h agoExplain → -
ide-stubs
Phalcon IDE Stubs
PHP ★ 164 2d agoExplain → -
tutorial
Phalcon Tutorial
Shell ★ 157 2y agoExplain → -
dockerfiles
Phalcon Dockerfiles used for internal purposes.
Dockerfile ★ 151 4y agoExplain → -
website ▣
Archived Website repository - https://github.com/phalcon/phalcon.io
CSS ★ 111 6y agoExplain → -
rest-api
Implementation of an API application using the Phalcon Framework
PHP ★ 93 3y agoExplain → -
album-o-rama
Sample application for the Phalcon PHP Framework.
CSS ★ 85 7y agoExplain → -
builtwith
Websites built with Phalcon
HTML ★ 40 3mo agoExplain → -
blog
Phalcon Framework's blog
HTML ★ 34 1d agoExplain → -
beanspeak
:panda_face: Client for Beanstalk delivered as a C-extension for PHP
Zephir ★ 34 9y agoExplain → -
volt-sublime-textmate
Volt syntax highlight for Sublime Text 2/Textmate
★ 29 9y agoExplain → -
phalconist
Resources catalog for Phalcon Framework
PHP ★ 29 9y agoExplain → -
migrations
Generate or migrate database changes via migrations.
PHP ★ 28 2d agoExplain → -
packagecloud ▣
:cloud: Phalcon Build Project
Shell ★ 27 4mo agoExplain → -
bridge-swoole
Bridge to run Phalcon with Swoole.
PHP ★ 26 2y agoExplain → -
documentation
Official Phalcon Documentation
Dockerfile ★ 22 1d agoExplain → -
dd
This package will add the dd and dump helpers to your Phalcon application.
PHP ★ 22 3y agoExplain → -
cli-options-parser
Command line arguments/options parser to use in Phalcon applications.
PHP ★ 18 9mo agoExplain → -
homebrew-tap
Official Homebrew tap for Phalcon PHP Framework (brew install phalcon)
Ruby ★ 18 4y agoExplain → -
docker
Official docker images with Phalcon framework.
Dockerfile ★ 14 2y agoExplain → -
incubator-mailer
Send mail with Phalcon
PHP ★ 13 4mo agoExplain → -
volt
Volt template engine.
PHP ★ 12 12h agoExplain → -
incubator-logger
Extended Adapters for Phalcon Framework Logger component.
PHP ★ 9 9d agoExplain → -
phalcon.io
phalcon.io website
HTML ★ 7 5mo agoExplain → -
incubator-session
Extra Phalcon Session Adapters.
PHP ★ 6 2d agoExplain → -
incubator-mongodb
MongoDB Database adapter for Phalcon Framework.
PHP ★ 6 9d agoExplain → -
incubator-acl
Extra components for Acl
PHP ★ 6 3y agoExplain → -
traits
Traits used primarily in the v6 package but also available as a helper package for applications
PHP ★ 6 1y agoExplain → -
forum-static
Phosphorum Static
HTML ★ 5 1mo agoExplain → -
incubator-avatar
Phalcon Avatar Adapters
PHP ★ 5 3y agoExplain → -
rest-api-v6
A REST API developed with Phalcon v6
PHP ★ 4 5mo agoExplain → -
incubator-config
No description.
PHP ★ 4 3y agoExplain → -
link ▣
A (manual) URL shortener for Phalcon sites
CSS ★ 4 5y agoExplain → -
platform
A foundation to build applications using Phalcon.
PHP ★ 4 8y agoExplain → -
incubator-translate
Extra Phalcon Translate Adapters.
PHP ★ 4 4y agoExplain → -
incubator-events
Extra Phalcon Events Adapters.
PHP ★ 4 3y agoExplain → -
proxy-psr3
Package to offer PSR-3 (Logger) compatibility with Phalcon classes from the PHP userland
PHP ★ 4 2y agoExplain → -
assets
This repository holds all the assets that Phalcon sites use
CSS ★ 3 1d agoExplain → -
incubator-cli
No description.
PHP ★ 3 4y agoExplain → -
proxy-psr13
Package to offer PSR-13 (Link) compatibility with Phalcon classes from the PHP userland
PHP ★ 3 3y agoExplain → -
incubator-test
Incubator - Test helpers for PhpUnit and Codeception
PHP ★ 3 2y agoExplain → -
incubator-cache
Extra Phalcon Cache Adapters.
PHP ★ 3 3y agoExplain → -
incubator-db
No description.
PHP ★ 3 2y agoExplain → -
phql
Phalcon Query Language (PHQL).
PHP ★ 2 6d agoExplain → -
incubator-validation
Extra Phalcon Validator Adapters.
PHP ★ 2 3y agoExplain → -
forum-ng ▣
New responsive theme for Phosphorum
HTML ★ 2 9y agoExplain → -
debugbar
No description.
PHP ★ 2 4y agoExplain → -
incubator-annotations
Extra Phalcon Annotations Adapters.
PHP ★ 2 3y agoExplain → -
proxy-psr16
Package to offer PSR-16 (Cache) compatibility with Phalcon classes from the PHP userland
PHP ★ 2 2y agoExplain → -
license
The content of license.phalcon.io
HTML ★ 1 6mo agoExplain → -
.github
No description.
★ 1 6y agoExplain → -
incubator-model
No description.
★ 1 5y agoExplain → -
proxy-psr7
Package to offer PSR-7 (HTTP Message) compatibility with Phalcon classes from the PHP userland
★ 1 4y agoExplain → -
proxy-psr11
Package to offer PSR-11 (Container) compatibility with Phalcon classes from the PHP userland
★ 1 4y agoExplain → -
annotations
Phalon Annotations parser
★ 1 1y agoExplain → -
zap ⑂
Blazing fast, structured, leveled logging in Go.
★ 0 4y agoExplain →
No repos match these filters.