awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
phalcon avatar

phalcon/cphalcon

0
View on GitHub↗
10,829 stars·1,927 forks·PHP·BSD-3-Clause·7 viewsphalcon.io↗

Cphalcon

Phalcon is a full-stack PHP web framework implemented as a compiled C extension that loads directly into the PHP interpreter. Rather than executing PHP scripts at runtime, the framework runs as a native C module, bundling routing, ORM, templating, and caching into immutable structures compiled at build time. This architecture hooks directly into PHP's internal Zend Engine API to bypass userland function call overhead, processes HTTP requests through a C-level event pipeline, and passes data between layers using pointer references instead of duplicating memory buffers.

The framework manages object lifecycles and memory directly in C to minimize allocation overhead and garbage collection pauses, while resolving and caching class definitions during extension compilation rather than at each request. Configuration and routing tables are compiled into static C structures for instant access, and the entire request pipeline operates through C-level event handlers without intermediate PHP function calls.

Phalcon provides the capabilities needed to build complete web applications with low resource usage. The extension can be installed through multiple methods including PECL, Linux package managers, Homebrew, MacPorts, PHPBrew, PIE, shared hosting control panels, or by compiling from source, with options to tune the build for the specific processor.

Features

  • Full-Stack Frameworks - The core identity of the repository: a full-stack PHP framework implemented as a compiled C extension.
  • PHP C-Extension Frameworks - Provides a full-stack PHP web framework implemented as a compiled C extension for maximum performance.
  • HTTP Request Processing Frameworks - Passes HTTP request data between layers using pointer references instead of duplicating memory buffers.
  • PHP Extension Memory Managers - Manages object lifecycles and data structures directly in C to minimize allocation overhead and garbage collection pauses.
  • PHP Engine Integrations - Hooks directly into PHP's internal Zend Engine API to bypass userland function call overhead.
  • Compile-Time Class Resolutions - Resolves and caches class definitions during extension compilation to eliminate runtime overhead.
  • C-Extension Frameworks - Runs as a compiled C extension for reduced overhead and faster execution in full-stack web applications.
  • PHP Zend Engine Hooks - Hooks directly into PHP's internal Zend Engine API to bypass userland function call overhead.
  • C-Level HTTP Request Pipelines - Processes HTTP requests through a C-level event pipeline without intermediate PHP function calls.
  • C-Level Event Pipeline Implementations - Processes HTTP requests through a C-level event pipeline without intermediate PHP function calls.
  • C++ Web Frameworks - Runs a complete web framework as a compiled C module loaded directly into the PHP interpreter.
  • PHP Engine Integration Frameworks - Hooks directly into PHP's Zend Engine API to bypass userland overhead and improve execution speed.
  • Full-Stack Web Frameworks - Provides routing, ORM, templating, and caching in a single C-extension package.
  • Compiled Configuration Structures - Bundles configuration and routing tables into immutable C structures at build time for instant access.
  • Compiled Frameworks - Bundles routing, ORM, and templating into immutable C structures at build time for instant access.
  • HTTP Request Zero-Copy Passings - Passes HTTP request data between framework layers using pointer references instead of duplicating memory buffers.

Star history

Star history chart for phalcon/cphalconStar history chart for phalcon/cphalcon

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does phalcon/cphalcon do?

Phalcon is a full-stack PHP web framework implemented as a compiled C extension that loads directly into the PHP interpreter. Rather than executing PHP scripts at runtime, the framework runs as a native C module, bundling routing, ORM, templating, and caching into immutable structures compiled at build time. This architecture hooks directly into PHP's internal Zend Engine API to bypass userland function call overhead, processes HTTP requests through a C-level event…

What are the main features of phalcon/cphalcon?

The main features of phalcon/cphalcon are: Full-Stack Frameworks, PHP C-Extension Frameworks, HTTP Request Processing Frameworks, PHP Extension Memory Managers, PHP Engine Integrations, Compile-Time Class Resolutions, C-Extension Frameworks, PHP Zend Engine Hooks.

What are some open-source alternatives to phalcon/cphalcon?

Open-source alternatives to phalcon/cphalcon include: laruence/yaf — Yaf is an MVC web framework implemented as a compiled PHP extension in C. It functions as a performance extension… mlocati/docker-php-extension-installer — This project is a shell-based provisioning script and build optimizer designed to automate the installation and… answerdotai/fasthtml — FastHTML is a full-stack Python web framework designed for building interactive web applications using pure Python. It… an-tao/drogon — Drogon is a high-performance C++ HTTP web framework and asynchronous web server designed for building web applications… codeigniter4/codeigniter4 — CodeIgniter is a PHP web framework built on the Model-View-Controller pattern, designed for building full-stack web… aplus-framework/framework — This project is a full-stack web framework built on PHP that provides a structured environment for developing complete…

Open-source alternatives to Cphalcon

Similar open-source projects, ranked by how many features they share with Cphalcon.
  • laruence/yaflaruence avatar

    laruence/yaf

    4,516View on GitHub↗

    Yaf is an MVC web framework implemented as a compiled PHP extension in C. It functions as a performance extension designed to reduce overhead and increase request processing speeds compared to frameworks written in standard user-land PHP. The framework moves core logic, including request routing, into a compiled binary layer to accelerate the dispatch of incoming network requests to controllers. It provides a command-line utility to generate standardized project scaffolding and boilerplate directory structures. The system covers application bootstrapping to initialize environment state, conf

    Ccphpphp-framework
    View on GitHub↗4,516
  • mlocati/docker-php-extension-installermlocati avatar

    mlocati/docker-php-extension-installer

    4,927View on GitHub↗

    This project is a shell-based provisioning script and build optimizer designed to automate the installation and configuration of PHP extensions and the Composer dependency manager within Docker containers. It serves as a runtime environment builder that simplifies the process of adding PHP modules to container images. The tool distinguishes itself by automating the resolution of system-level dependencies required for PHP extension compilation, reducing the manual effort typically needed in a Dockerfile. It supports a variety of installation methods, including PECL package retrieval, direct so

    Shell
    View on GitHub↗4,927
  • answerdotai/fasthtmlAnswerDotAI avatar

    AnswerDotAI/fasthtml

    6,846View on GitHub↗

    FastHTML is a full-stack Python web framework designed for building interactive web applications using pure Python. It functions as an HTMX integration framework and a Python HTML domain-specific language, allowing developers to generate HTML structures using native objects and functions instead of external templating files. The framework is distinguished by its native support for real-time bidirectional communication via WebSockets and Server-Sent Events, enabling server-side updates to be pushed to the browser without full page reloads. It further integrates identity management through OAut

    Jupyter Notebook
    View on GitHub↗6,846
  • aplus-framework/frameworkaplus-framework avatar

    aplus-framework/framework

    262View on GitHub↗

    This project is a full-stack web framework built on PHP that provides a structured environment for developing complete web applications. It utilizes a model-view-controller architecture to separate application data, user interface, and control logic, facilitating the management of complex application requirements. The framework distinguishes itself through a suite of integrated tools designed to unify server-side logic and client-side interfaces. It supports isomorphic code execution to maintain consistent behavior across the stack and employs server-side data hydration to populate the client

    PHPaplusaplus-frameworkcache
    View on GitHub↗262
See all 30 alternatives to Cphalcon→