talira

High performance, full-stack PHP framework delivered as a C extension

open sourceBSD-3-Clauseself-hostablefree

Phalcon is a full-stack PHP framework delivered as a C extension, so the framework is compiled and loaded once when PHP starts instead of being interpreted on every request, which gives it low memory and CPU overhead. You use it through plain PHP classes in the Phalcon namespace, with no C needed. It covers MVC and multi-module apps, a Micro application for REST APIs, dependency injection, an ORM with PHQL (a database-agnostic query language compiled to prepared statements), the Volt templating engine, forms, routing, ACL, events, caching, encryption and logging. Phalcon 5 is the stable C extension, written in Zephir, for PHP 8.1 to 8.5; Phalcon 6, a release candidate, ships the same API as a pure PHP Composer package for hosts that do not allow custom extensions.

Problems it solves

  • a PHP framework with lower memory and CPU per request than Laravel or Symfony
  • build a fast REST API in PHP with minimal framework overhead
  • a full-stack PHP MVC framework with an ORM and templating built in

Features

  • compiled C extension loaded once per server
  • same API as a pure PHP package (v6)
  • MVC, multi-module and Micro applications
  • dependency injection container
  • ORM with PHQL
  • Volt templating engine
  • router, dispatcher, ACL and events manager
  • cache, encryption, logger and config services
  • forms, flash messages and translation

Alternatives

The same job

These do what Phalcon does.

  1. Laravel The PHP framework for web artisans.

Compare Phalcon with the top 3