library hello-world
this is a hello world repo for composer.
rivsen/hello-world
this is a hello world repo for composer.
- Tuesday, April 14, 2015
- by rivsen
- Repository
- 1 Watchers
- 0 Stars
- 99 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 1 Forks
- 1 Open issues
- 3 Versions
- 6 % Grown
Hello World Package for PHP Composer
This is a hello world package for php composer beginners tutorial.
read more from http://rivsen.github.io/post/how-to-publish-package-to-packagist-using-github-and-composer-step-by-step/, (*1)
Usage
$ composer require rivsen/hello-world
$ touch test.php
<?php
require_once "vendor/autoload.php";
$hello = new Rivsen\Demo\Hello();
echo $hello->hello();
$ php test.php
It will print "Hello World!" then exit., (*2)
dev-master
9999999-dev
this is a hello world repo for composer.
Sources
Download
MIT
by
Rivsen Tan
0.1.x-dev
0.1.9999999.9999999-dev
this is a hello world repo for composer.
Sources
Download
MIT
by
Rivsen Tan
0.1.0
0.1.0.0
this is a hello world repo for composer.
Sources
Download
MIT
by
Rivsen Tan