weijihao / hello-world
This is a hello world repo for composer.
0.1.4
2019-11-13 12:16 UTC
README
This is a hello world package for php composer beginners tutorial.
这是一个 php composer 学习教程的 hello world 包。
Usage
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
It will echo "Hello World!" then exit.