weijihao / hello-world
这是一个为 composer 设计的 hello world 仓库。
0.1.4
2019-11-13 12:16 UTC
README
这是一个针对 php composer 初学者的 hello world 包教程。
这是一个 php composer 学习教程的 hello world 包。
使用方法
1 composer require weijihao/hello-world 2 touch test.php
test.php 代码如下:
<?php require_once "vendor/autoload.php"; $hello = new Weijihao\Demo\Hello(); echo $hello->hello();
$php test.php
它将输出 "Hello World!" 然后退出。