rivsen / hello-world
this is a hello world repo for composer.
0.1.0
2015-03-14 10:26 UTC
Requires
None
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-08-17 13:32:14 UTC
README
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/
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.