Ice framework

Simple and fast PHP framework delivered as C-extension.

Latest Stable Version Total Downloads Latest Unstable Version License


Build Status Dependency Status

How to contribute?
  1. Fork the ice/framework repository.
  2. Create a new branch for each feature or improvement.
  3. Send a pull request from each feature branch to the dev branch*.

*please do not send files from build/ directory (they are generated automatically), just those from the ice/.




Ice is a C-extension, so you need to download a binary for your platform or compile it from source code.



*before compilation please read the Requirements.

Compile from build/:

Clone and install from GitHub:

git clone --depth=1
cd framework/
or install using composer:
composer create-project iceframework/framework --no-dev
Add extension to your php.ini:

Finally restart the webserver

Build by zephir* (generate, compile and install extension):

By default ./vendor/bin/zephir runs zephir. To build Ice you must run zephir begin in the framework/ directory:
cd framework/
./vendor/bin/zephir build

*if you don't have zephir you need to compile zephir.

Compile zephir
You can install zephir using composer. If you already have ice and you are inside framework/ directory:
composer update
or clone zephir repo:
mkdir vendor/phalcon/ && cd $_
git clone

# Install zephir

# Create symbolic link
mkdir ../../bin && cd $_
ln -s ../phalcon/zephir/bin/zephir
Run zephir first time:
cd framework/


You can build from C-files or build by zephir

To build the PHP extension:
To compile zephir-parser


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


sudo zypper install php5-devel pcre-devel gcc make re2c


sudo yum install php-devel pcre-devel gcc make re2c

Zephir Installation


Ice is open-sourced software licensed under the New BSD License. See the LICENSE file for more information.

Copyright (c) 2014-2016 Ice Team.