OllamaPriority/vendor/rivsen/hello-world
2025-02-01 19:32:37 +01:00
..
src Refactor according to Sample-Module 2025-02-01 19:32:37 +01:00
.gitignore Refactor according to Sample-Module 2025-02-01 19:32:37 +01:00
composer.json Refactor according to Sample-Module 2025-02-01 19:32:37 +01:00
readme.md Refactor according to Sample-Module 2025-02-01 19:32:37 +01:00
test.php Refactor according to Sample-Module 2025-02-01 19:32:37 +01:00

Hello World Package for PHP Composer

This is a hello world package for php composer beginners tutorial.

Usage

$ composer require rivsen/hello-world dev-master
$ 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.