Phalcon is an open source, full stack framework for PHP.
Functionality is exposed as PHP classes ready to be used. Written as a C extension, it is optimized for extremely high performance, being the fastest possible framework available for PHP developers.
Resource | Link |
---|---|
Team | https://phalconphp.com/en/team |
Documentation | https://docs.phalconphp.com/ |
Download & Installation instructions | https://phalconphp.com/en/download |
Forum | https://forum.phalconphp.com/ |
Blog | https://blog.phalconphp.com/ |
GitHub | https://github.com/phalcon/cphalcon |
Roadmap | https://github.com/phalcon/cphalcon/wiki/Roadmap |
Built with Phalcon | https://builtwith.phalconphp.com/ |
Version | Release Date |
---|---|
2.0.0 | 2014-04-17 |
2.0.1 | 2015-05-08 |
2.0.2 | 2015-05-25 |
2.0.3 | 2015-06-10 |
2.0.4 | 2015-07-07 |
2.0.5 | 2015-07-14 |
2.0.6 | 2015-07-21 |
2.0.7 | 2015-08-17 |
2.0.8 | 2015-09-25 |
2.0.9 | 2015-11-23 |
2.0.10 | 2016-02-04 |
2.0.11 | 2016-05-04 |
2.0.12 | 2016-05-16 |
2.0.13 | 2016-05-24 |
3.0.0 | 2016-07-29 |
3.0.1 | 2016-08-24 |
Download installation files from Phalcon dedicated download page, as well as finding manuals on making Phalcon work with popular platforms.
Put the actual DLL files in a directory proper to extend PHP functionality. For XAMPP use xampp\php\ext\
- and for WAMP use wamp\bin\php\php*\ext\
derectory. Then enable Phalcon by adding extension=php_phalcon.dll
to the appropriate php.ini
file. Restart the web server and Phalcon should become available.
To compile the desired version of Phalcon, first install PHP sources along with some other necessary tools:
#Ubuntu
sudo apt-get install php5-dev php5-mysql gcc libpcre3-dev
#Fedora
sudo yum install php-devel php-mysqlnd gcc libtool
#RHEL
sudo yum install php-devel php-mysql gcc libtool
#Suse
yast2 -i php5-pear php5-devel php5-mysql gcc
#OS X (Using Homebrew)
brew tap homebrew/dupes
brew tap homebrew/versions
brew tap homebrew/php
brew install php5x php5x-phalcon # Where "x" - minor number of PHP
After they are all properly installed, Phalcon can be compiled:
git clone --depth=1 git://github.com/phalcon/cphalcon.git
cd cphalcon/build
sudo ./install
(Pick the desired version instead of using just git://github.com/phalcon/cphalcon.git
) Afterwards the Phalcon extension should be available in the PHP directories. All that's left is to include extension=phalcon.so
in the desired php.ini
file. Restart the web server and it should be available.
It is possible to install Phalcon directly from repositories using following commands:
sudo apt-add-repository ppa:phalcon/stable
sudo apt-get update
sudo apt-get install php5-phalcon
If you have brew installed you first need to tap homebrew-php:
brew tap homebrew/homebrew-php
After that you need to determine your PHP version. This can be done via the command:
php -v
The command will output something similar to PHP 5.6.22
you want the first and second numbers, which are 5
and 6
in this case. Then you run the following command to install the proper version (replacing 5
and 6
with the version you have):
brew install php56-phalcon
Sources: