81

GitHub - hunzhiwange/queryphp: Starts From This Moment With QueryPHP.

 5 years ago
source link: https://github.com/hunzhiwange/queryphp
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

StyleCI Build Status Coverage Status Latest Version QueryPHP License

The QueryPHP Application

QueryPHP is a modern, high performance PHP 7 resident framework, with engineer user experience as its historical mission, let every PHP application have a good framework.

A hundred percent coverage of the unit tests to facing the bug,based on Zephir implemented framework resident,with Swoole ecology to achieve business resident, now or in the future step by step. Our vision is USE LEEVEL WITH SWOOLE DO BETTER, let your business to support more user services.

The PHP Framework For Code Poem As Free As Wind, Starts From This Moment With QueryPHP.

The core packages

How to install

Base use

composer create-project hunzhiwange/queryphp myapp dev-master

Visite it

php leevel server <Visite http://127.0.0.1:9527/>

Base optimization

Debug

Modify .env or runtime/bootstrap/option.php.

// Environment production、testing and development
ENVIRONMENT = production

// Debug
DEBUG = false

Commands

The commands below can make queryphp faster.

php leevel router:cache
php leevel option:cache
php leevel i18n:cache
php leevel view:cache
php leevel autoload (contains `composer dump-autoload --optimize`)

Or

php leevel production # `php leevel development` will back.

USE LEEVEL DO BETTER

Windows

Need to tests.

Linux

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

Use Swoole With Ultra High Performance

This will coming back later.

php leevel swoole:http

Unified Code Style

$cd /data/codes/queryphp
$php-cs-fixer fix --config=.php_cs.dist

Thanks

Thanks my colleague John.mao for your selfless help in the development of this project and and let me have a new understanding, it makes QueryPHP more beautiful.

Thanks for these excellent projects, we have absorbed a lot of excellent design and ideas, standing on the shoulders of giants for innovation.

License

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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK