rivsen / hello-world
this is a hello world repo for composer.
Installs: 6 388
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 10
Open Issues: 1
This package is auto-updated.
Last update: 2024-12-17 09:50:23 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.