remarkablemark/composer-template

dev-master 2024-11-25 15:47 UTC

This package is auto-updated.

Last update: 2024-11-25 15:47:30 UTC


README

packagist test

Composer package template

Requirements

PHP >=7

Install

Install with Composer:

composer require remarkablemark/composer-template

Usage

Autoload:

require_once 'vendor/autoload.php';

Use namespace:

use Remarkablemark\ComposerTemplate\ClassExample;

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

Or instantiate class:

$example = new \Remarkablemark\ComposerTemplate\ClassExample();
echo $example->say('Mark'); // 'Hello, Mark!'

License

MIT