PHP code example of tinyphporg / tinyphp-docs
1. Go to this page and download the library: Download tinyphporg/tinyphp-docs library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tinyphporg / tinyphp-docs example snippets
shell
composer create-project tinyphporg/tinyphp
#console 运行
php public/index.php
#编译单文件
php public/index.php --build
#服务端守护进程
php public/index.php -d //开启
php public/index.php --daemon=stop //关闭
#配置文件
application/config/profile.php