Watch 6 Star 22 Fork 2

小牛New / leevelPHPMIT

Sign up for free
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
Leevel 是一个开源 PHP C 扩展开发框架,采用 zephir 编写,是为了解决使用框架带来性能下降的经典矛盾,Leevel 是为了解决 QueryPHP 性能而开发,可以与同版本的 QueryPHP 混合使用,将接管 composer 中的 PHP 版本功能 spread retract

  • PHP 67.4%
  • Zephir 19.6%
  • C 11.8%
  • C++ 0.6%
  • Shell 0.3%
  • Other 0.3%
Clone or download

StyleCI Build Status Latest Version Leevel License

English | 中文

The Leevel Framework To Rebuild QueryPHP

Leevel is an open source web framework delivered as a C extension and supplement for the QueryPHP framework providing high performance and lower resource consumption.

The core packages


version_compare(PHP_VERSION, '7.1.3', '<') && die('PHP 7.1.3 OR Higher');

How to install


Need to tests.


You can download the source code.

git clone
cd ext

Then compile it.

$./configure --with-php-config=/path/to/php-config
$make && make install

Then add extension to your php.ini,you can see if installation is successful by command php -m.

extension =

Official Documentation

Documentation for the framework can be found on the Leevel website.

Run Tests

$cd /data/codes/leevel    
$composer install
$cp ./tests/config.php ./tests/config.local.php // Modify the config
$php vendor/bin/phinx migrate
$php vendor/bin/phpunit tests

Travis CI Supported

Let code poem.


The Leevel framework is open-sourced software licensed under the MIT license.

Comments ( 3 )

You need to Sign in for post a comment

Help Search