Skip to content

phalcon/cphalcon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1892bdc · Jan 13, 2016
Jan 12, 2016
Dec 25, 2015
Dec 13, 2015
May 11, 2015
Jan 13, 2016
Jul 17, 2015
Jan 13, 2016
Dec 17, 2015
Aug 10, 2015
Apr 17, 2015
Jan 5, 2016
Jan 13, 2016
Aug 22, 2015
Apr 21, 2015
Oct 30, 2014
Jan 5, 2016
Sep 13, 2015
Dec 3, 2015
Mar 18, 2014
Apr 16, 2015

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.

Get Started

Phalcon is written in Zephir/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 source.

Windows

To install Phalcon on Windows:

  1. Download Phalcon for Windows
  2. Extract the DLL file and copy it to your PHP extensions directory
  3. Edit your php.ini file and add this line: extension=php_phalcon.dll
  4. Finally, restart your webserver

Hint: To ensure that your Phalcon installation was successful, debug with <?php phpinfo(); ?> and search for a section mentioning the Phalcon extension.

Linux/Unix/Mac

On a Unix-based platform you can easily compile and install the extension from sources.

Requirements

Prerequisite packages are:

  • PHP 5.4.x/5.5.x/5.6.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 php5-devel gcc make

CentOS/Fedora/RHEL

sudo yum install php-devel pcre-devel gcc make

Compilation

Follow these instructions to generate a binary extension for your platform:

git clone git://github.com/phalcon/cphalcon.git
cd cphalcon/build
sudo ./install

Add the extension to your php.ini:

extension=phalcon.so

Finally, restart the webserver.

External Links

Current Build Status

Phalcon Framework is built under the 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

Meet the Incubator

Our community is developing amazing extra features for Phalcon every day via Incubator. There are resources to enhance your experience with the framework and that enlarge the main features.

Just give it a try and help us improve Phalcon even more!

License

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