A full-stack PHP framework delivered as a C-extension

Its innovative architecture makes Phalcon the fastest PHP framework ever built! See for yourself...

Sponsored by


  • Low overhead

    Low overhead

    Low memory consumption and CPU compared to traditional frameworks

  • MVC & HMVC

    MVC & HMVC

    Modules, components, models, views and controllers

  • 依存性の注入



  • Rest


    In this case, you can use either a micro or full stack application to meet your goal. In addition, a powerful set of HTTP helpers.

  • オートローダー



  • Router


    Phalcon\Mvc\Router provides advanced routing capabilities.

Low overhead

PHP C-extension (Phalcon)

  • Zephir/C extensions are loaded together with PHP one time on the web server's daemon start process
  • Classes and functions provided by the extension are ready to use for any application
  • The code is compiled and isn't interpreted because it's already compiled to a specific platform and processor
  • Thanks to its low-level architecture and optimizations Phalcon provides the lowest overhead for MVC-based applications

Data & storage

  • ORM


    Object Relational Mapping

  • PHQL


    The powerful and secure Phalcon Query Language, PHQL

  • ODM for Mongo

    ODM for Mongo

    Object Document Mapping for MongoDB

  • トランザクション


    Transactions in Phalcon allows to keep the data integrity safe.

  • キャッシュ




A powerful ORM is provided by Phalcon allowing you to manipulate database records as classes and objects. MySQL, PostgreSQL and SQLite are supported out of the box.

use Phalcon\Mvc\Model;

class Robots extends Model
    public $id;

    public $name;

    public function initialize()
        $this->hasMany('id', 'RobotsParts', 'robots_id');

Views & frontend

  • Template Engines

    Template Engines

    Views represent the user interface of your application

  • テンプレートエンジン (Volt)

    テンプレートエンジン (Volt)

    A template engine inspired by Jinja but built in C for PHP

  • i18n


    Translate your applications to many languages easily

  • フォーム ビルダー

    フォーム ビルダー

    Easily create HTML forms

  • フラッシュ メッセージ

    フラッシュ メッセージ

    Flash messages are used to notify the user about the state of actions.

Template Engines

Views represent the user interface of your application. Views are often HTML files with embedded PHP code that perform tasks related solely to the presentation of the data. Views handle the job of providing data to the web browser or other tool that is used to make requests from your application.

    <div class='top'><?php $this->partial('shared/ad_banner'); ?></div>
    <div class='content'>
        <p>Check out our specials for robots:</p>
    <div class='footer'><?php $this->partial('shared/footer'); ?></div>


  • ACL



  • シャーディング


    Connect, store and retrieve data from many database systems at the same time

  • 暗号



  • イベント


    Extend the most of the framework components by setting 'hook points'. Create your own events and make your application more flexible and powerful

  • Queueing - background process

    Queueing - background process

    Use the built-in queueing system in Phalcon to schedule jobs and reduce the load of your web server



use Phalcon\Acl;
use Phalcon\Acl\Role;
use Phalcon\Acl\Adapter\Memory as AclList;

// ACLオブジェクトを作る
$acl = new AclList();

// デフォルトの挙動はDENY(拒否)

// 2つのロールを登録する
// ユーザーは登録済みユーザー、ゲストは未登録ユーザー
$roles = array(
    'users'  => new Role('Users'),
    'guests' => new Role('Guests')

foreach ($roles as $role) {

A polling app built from scratch in < 15 min

Watch the demo video

Come join our vibrant developer community!

Community contributions in Extensions, Plugins, Adapters, VM, examples, source code... and more