Skip to content

stackphysics/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:

cd json-c
sudo sh autogen.sh
sudo ./configure
sudo make
sudo make install
cd ..

Compile zephir:

cd zephir
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.

About

Web framework delivered as a C-extension for PHP

Resources

Stars

Watchers

Forks

Packages

No packages published