Phalcon is a web framework implemented as a C extension offering high performance and lower resource consumption.
Phalcon is written in C with platform independence in mind. As a result, Phalcon is available on Microsoft Windows, GNU/Linux, and Mac OS X. You can either download a binary package for the system of your choice or build it from sources.
On a Unix-based platform you can easily compile and install the extension from sources.
Prerequisite packages are:
- PHP 7.0.x development resources
- GCC compiler (Linux/Solaris) or Xcode (Mac)
Ubuntu:
sudo apt-get install php5-dev libpcre3-dev gcc make
Suse:
sudo zypper install php7-devel gcc make
CentOS/Fedora/RHEL
sudo yum install php-devel pcre-devel gcc make
Follow these instructions to generate a binary extension for your platform:
git clone git://github.com/dreamsxin/cphalcon7.git
cd cphalcon/ext
phpize
make -j4
sudo make install
Add the extension to your php.ini:
extension=phalcon.so
Finally, restart the webserver.
Phalcon is open source software licensed under the New BSD License. See the docs/LICENSE.txt file for more information.