allan/calc

Very basic example as demonstrated

Maintainers

Package info

github.com/allan2012/basic-package

pkg:composer/allan/calc

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-master 2019-08-28 14:51 UTC

This package is auto-updated.

Last update: 2026-03-01 00:13:08 UTC


README

Just a simple way to get started with a basic well tested PHP package management. You can use it as a basic template to create a standard composer PHP package.

The testing is integrated with PHPUnit see https://phpunit.de/

Composer Installation

composer require allan/calc

Usage

<?php

use Calc\Calculator;

$c = new Calculator;
$sum = $c->add(3445,6677);
var_dump($sum);