weijihao/hello-world
Composer 安装命令:
composer require weijihao/hello-world
包简介
This is a hello world repo for composer.
README 文档
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.
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-26