Skip to content

phalcon/cphalcon

Repository files navigation

Phalcon Framework

Phalcon is an open source web framework delivered as a C extension for the PHP language providing high performance and lower resource consumption.

This readme provides an introduction to contributing to Phalcon 2.0.

Get Started

Clone Phalcon 2.0 repo:

git clone -b 2.0.0 https://github.com/phalcon/cphalcon.git

Clone Zephir repo:

git clone https://github.com/phalcon/zephir.git

Clone json-c repo:

git clone https://github.com/json-c/json-c.git

Install required packages:

sudo apt-get install php5-dev php5-mysql gcc make re2c libpcre3-dev

Compile json-c and Zephir:

cd zephir
sudo ./install-json
sudo ./install
cd ..

Compile Phalcon:

cd cphalcon
../zephir/bin/zephir generate
../zephir/bin/zephir compile

Add extension to your php.ini:

extension=phalcon.so

Finally restart the webserver!

External Links

Current Build Status

Phalcon Framework is built under Travis CI service. Every commit pushed to this repository will queue a build into the continuous integration service and will run all PHPUnit tests to ensure that everything is going well and the project is stable. The current build status is:

Build Status

License

Phalcon is open-sourced software licensed under the New BSD License. See the docs/LICENSE.txt file for more information.