Phalcon 3.2.1 released

Read time: 1 minute

We are releasing Phalcon 3.2.1 today, addressing several bugs.


The release tag can be found here: 3.2.1. The Windows DLLs are in the releases Github page.


  • Added Phalcon\Db\Dialect\Mysql::getForeignKeyChecks to generate a SQL to check the foreign key settings #2604, phalcon/phalcon-devtools#556
  • Fixed inconsistent behaviour of Phalcon\Config::merge across minor version of PHP7 #12779
  • Fixed visibility of Phalcon\Mvc\Model\Query\Builder methods: _conditionNotIn, _conditionIn, _conditionNotBetween and _conditionBetween to allow 3rd party libraries extend it
  • Fixed Phalcon\Assets\Manager::output, implemented missing resource type filtering for mixed resource collections #2408
  • Fixed Phalcon\Http\Response::getStatusCode to return (int) HTTP code only, instead of full string #12895
  • Fixed Phalcon\Db\Dialect\Postgresql::addForeignKey for proper creating the foreign key without a name
  • Fixed Phalcon\Cache\Backend\Apcu::flush to use APCu instead APC #12934
  • Fixed Phalcon\Db\Adapter\Pdo\Mysql::addForeignKey for proper creating the foreign key with a desired key name #2604, phalcon/phalcon-devtools#556
  • Fixed Phalcon\Db\Dialect\Mysql::addForeignKey to generate correct SQL #2604, phalcon/phalcon-devtools#556


Phalcon 3.2.1 can be installed from the master branch, if you don’t have Zephir installed follow these instructions:

git clone
cd cphalcon/build
sudo ./install

Note that running the installation script will replace any version of Phalcon installed before. has been updated to allow your package manager (for Linux machines) to upgrade to the new version seamlessly.

NOTE: Windows DLLs are now available in our Github Release page.

NOTE: PackageCloud (linux distributions) will be updated within an hour of this blog post.

We encourage existing Phalcon 3 users to update to this version.

<3 Phalcon Team

Chat - Q&A


Social Media


<3 Phalcon Team

We're a nonprofit organization that creates solutions for web developers. Our products are Phalcon, Zephir and others. If you would like to help us stay free and open, please consider supporting us.