primakurzy/hello-php

For Educational Purposes Only

v1.2 2022-01-19 09:04 UTC

This package is auto-updated.

Last update: 2025-02-19 16:10:32 UTC


README

Library Is For Educational Purposes Only

1. Installation:

The easiest way to install the library is using Composer:

composer require primakurzy/hello-php

Or simply download the PHP package from the src/ directory in this repository.

2. Loading:

If you're using Composer use the following include/require statement

<?php
require "vendor/autoload.php";
// ...

otherwise:

<?php
require "path/to/hello.php";
// ...

3. A Simple Example:

// call library function
echo sayHello();