remarkablemark / php-composer-test
PHP Composer Test
Fund package maintenance!
remarkablemark
Patreon
Ko Fi
Liberapay
b.remarkabl.org/teespring
Requires
- php: >=7
This package is auto-updated.
Last update: 2024-10-28 21:07:58 UTC
README
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!'