weijihao / hello-world
This is a hello world repo for composer.
Installs: 16
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/weijihao/hello-world
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.