remarkablemark/php-composer-test

1.0.0 2023-08-06 00:48 UTC

This package is auto-updated.

Last update: 2024-05-29 03:17:00 UTC


README

packagist test codecov

PHP Composer Test. See Replit demo.

Requirements

PHP >=7

Install

Install with Composer:

composer require remarkablemark/php-composer-test

Usage

Autoload:

require_once 'vendor/autoload.php';

Use namespace:

use Remarkablemark\PhpComposerTest\PhpComposerTest;

$test = new PhpComposerTest();
echo $test->say(); // 'Hello, world!'

Or instantiate class:

$test = new \Remarkablemark\PhpComposerTest\PhpComposerTest();
echo $test->say('Mark'); // 'Hello, Mark!'

License

MIT