# leevel **Repository Path**: dyhb/leevel ## Basic Information - **Project Name**: leevel - **Description**: Leevel 是一个开源 PHP C 扩展开发框架,采用 zephir 编写,是为了解决使用框架带来性能下降的经典矛盾,Leevel 是为了解决 QueryPHP 性能而开发,可以与同版本的 QueryPHP 混合使用,将接管 composer 中的 PHP 版本功能 - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 25 - **Forks**: 3 - **Created**: 2018-09-11 - **Last Updated**: 2024-06-30 ## Categories & Tags **Categories**: webframework **Tags**: None ## README

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. * Site: * API: * Document: ## The core packages * QueryPHP On Github: * QueryPHP On Gitee: * Framework On Github: * Framework On Gitee: * Leevel On Github: * Leevel On Gitee: * Tests: * Packages: * Packages From Hunzhiwange: * Packages From Leevel: ## Requirement ``` version_compare(PHP_VERSION, '7.1.3', '<') && die('PHP 7.1.3 OR Higher'); ``` ## How to install ### Windows Need to tests. ### Linux You can download the source code. ``` git clone git@github.com:hunzhiwange/leevel.git cd ext ``` Then compile it. ``` $/path/to/phpize $./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 = leevel.so ``` ## Official Documentation Documentation for the framework can be found on the [Leevel website](http://www.queryphp.com). ## 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. ## License The Leevel framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).