CMP = Class.Method (Param)
A tiny PHP "not-even-a-framework" helps building php programs, from small console tools to business website.
https://github.com/cmptech/cmp/tree/master/app_root/webroot/_libs/CMP
Lib:
Example:
or do sth in one line:
php -r "($f='CMP_bootstrap.php')&&(class_exists('\CMP\LibCore')||(file_exists($f)||copy('https://github.com/cmptech/cmp/raw/master/app_root/webroot/_libs/CMP/CMP_bootstrap.php',$f))&&require_once($f));\CMP\LibCore::println( $_SERVER );"
- webroot/cmp_demp/inc.app.php
- webroot/cmp_tester/test_cmp_basic.php
https://www.gitbook.com/book/cmptech/cmp-api-doc/details
we build a docker image that included a PHP7+swoole Environment to run up a server:
git clone https://github.com/cmptech/cmp.git
cd cmp/
sh ./server_start.sh
echo
echo now use your browser to open http://localhost:9888/
- Copy to any web server supports PHP5.4+
- Copy "config.switch.override.tmp.example.php" as "config.switch.override.tmp" for switching config-folder.
- play the cmp_demo/ and cmp_tester/
- https://github.com/cmptech/cmp/tree/master/app_root/webroot/cmp_demo/
- https://github.com/cmptech/cmp/tree/master/app_root/webroot/cmp_tester/
- BPME integration ( github/cmptech/bpme-php )
- composer package (cmptech/cmp)
- SimpleExcel [0.3.15], for the xls(xml)-php-compilation-for-langpack (NOTES: may be replaced in future) //@link QuickFunc getLang()
- dzTemplate: a modified mini-php-page-template engine class file //@link QuickFunc include(TPL());