hunzhiwange/leevel-ext

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

The Leevel Framework.

v1.0.0-alpha.2 2018-12-10 14:49 UTC

This package is auto-updated.

Last update: 2021-11-11 07:58:45 UTC


README

leevel.png

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

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.

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.