# queryphp **Repository Path**: diycp/queryphp ## Basic Information - **Project Name**: queryphp - **Description**: The PHP Framework For Code Poem As Free As Wind. - **Primary Language**: PHP - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 16 - **Created**: 2018-11-08 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![](queryphp-use-leevel.png)

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.* * 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: ## How to install ## Base use ``` composer create-project hunzhiwange/queryphp myapp dev-master ``` ## Visite it ![](home.jpg) ``` php leevel server ``` * Home * Mvc router * Mvc restful router http://127.0.0.1:9527/restful/123 * Mvc restful router with method http://127.0.0.1:9527/restful/123/show * Annotation router http://127.0.0.1:9527/api/v1/petLeevelForApi/helloworld * Annotation router with bind http://127.0.0.1:9527/api/v2/withBind/foobar * php leevel link:public * php leevel link:storage * php leevel link:apis * php leevel link:debugbar ## 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 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 ``` ## 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](https://github.com/maosea0125) 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. * QeePHP: * Swoole: * JeCat: * ThinkPHP: * Laravel: * Symfony: * Doctrine: * Phalcon: ## License The QueryPHP framework is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).