1. Go to this page and download the library: Download hetao29/slightphp 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/ */
hetao29 / slightphp example snippets
//加载方式1,直接加载框架
//
class zone_page{
function PageEntry($inPath){
echo "Hello, world!";
}
}