PHP code example of myphps / myphp

1. Go to this page and download the library: Download myphps/myphp 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/ */

    

myphps / myphp example snippets


//定义项目路径
define('APP_PATH','./app');

// ");

$myphp = new myphp();	//实例化一个类
$myphp->Run();	//运行类的Run的方法