Thu. Jul 9th, 2020

Cphalcon v4.0.6 releases, PHP C extension Web framework

2 min read

Cphalcon is an open-source Web framework, as the PHP language C extension, which provides higher performance and lower resource consumption.


  • Low overhead
    Low memory consumption and CPU compared to traditional frameworks
  • MVC & HMVC
    Modules, components, models, views, and controllers
  • Dependency Injection
    Dependency Injection and Location of services and it’s itself a container for them.
  • 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.
  • Autoloader
    Provides the autoloading mechanism of PHP classes following PSR-4.
  • Router
    Phalcon\Mvc\Router provides advanced routing capabilities.

Cphalcon v4.0.6 has been released,



  • Changed Volt::convertEncoding to no longer using iconv for a fallback since it causes issues with macOS #14912
  • Changed schema manipulation in Phalcon\Db\Dialect\Mysql – unquote numerical defaults #14888#14974
  • Changed the default ACL access level from boolean FALSE to Enum::DENY #14974
  • Changed the way Phalcon\Http\Response::__construct checks content data type. Now a TypeError will be thrown if incompatible data type was passed #14983
  • Changed return type hints of the following Phalcon\Flash\FlashInterface‘s methods: errormessagenoticesuccess and warning #14994
  • Changed return type hint for Phalcon\Mvc\ModelInterface::sum #15000
  • Changed return type for Phalcon\Mvc\Model\Criteria::getLimit so that integer, NULL or array will be returned #15004
  • Changed return type hint for Phalcon\Mvc\Model\Manager::getCustomEventsManager to return NULL instead of boolean FALSE if there is no special events manager #15008
  • Changed Phalcon\Mvc\Model\MetaData::getDI so that now it will throw a Phalcon\Mvc\Model\Exception if there is no DiInterface instance #15011
  • Changed Phalcon\Http\Request::getJsonRawBody to use json_decode instead of Phalcon\Json::decode #14936
  • Changed Phalcon\Factory\AbstractFactory to expose getService which will throw an exception if it does not exist. Removed checkService and adjusted all references in newInstance() calls. #15038
  • Changed the visibility of methods and properties in Phalcon\Http\Message\ResponsePhalcon\Http\Message\ServerRequest and Phalcon\Http\Message\Uri to work with clone#15040