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: https://www.queryphp.com/
- API: https://api.queryphp.com
- Document: https://www.leevel.vip/
- QueryPHP On Github: https://github.com/hunzhiwange/queryphp/
- QueryPHP On Gitee: https://gitee.com/dyhb/queryphp/
- Framework On Github: https://github.com/hunzhiwange/framework/
- Framework On Gitee: https://gitee.com/dyhb/framework/
- Leevel On Github: https://github.com/hunzhiwange/leevel/
- Leevel On Gitee: https://gitee.com/dyhb/leevel
- Tests: https://github.com/leevels/tests/
- Packages: https://github.com/leevels/
- Packages From Hunzhiwange: https://packagist.org/packages/hunzhiwange/
- Packages From Leevel: https://packagist.org/packages/leevel/
version_compare(PHP_VERSION, '7.1.3', '<') && die('PHP 7.1.3 OR Higher');
Need to tests.
You can download the source code.
git clone [email protected]: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
Documentation for the framework can be found on the Leevel website.
$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
Let code poem.
The Leevel framework is open-sourced software licensed under the MIT license.