rivsen / hello-world
this is a hello world repo for composer.
Installs: 5 579
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 11
Open Issues: 1
This package is auto-updated.
Last update: 2024-04-17 08:24:49 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.