PHP code example of ledaishu / composer_demo
1. Go to this page and download the library: Download ledaishu/composer_demo 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/ */
ledaishu / composer_demo example snippets
// 加载自动加载文件
$rose = new Rose();
$lily = new Lily();
echo $rose->desc();
echo "\n";
echo $lily->desc();