Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.
/ leevel Public archive

🚀The Leevel Framework To Rebuild QueryPHP.

License

Notifications You must be signed in to change notification settings

hunzhiwange/leevel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.