PHP code example of crazywhalecc / composer-demo-module

1. Go to this page and download the library: Download crazywhalecc/composer-demo-module 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/ */

    

crazywhalecc / composer-demo-module example snippets

bash
runtime/bin/php -v                      # 查看 PHP 版本
runtime/bin/php vendor/bin/start server # 运行框架,也可运行其他 PHP 脚本