allan / calc
Very basic example as demonstrated
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/allan/calc
Requires (Dev)
- phpunit/phpunit: ^7
This package is auto-updated.
Last update: 2025-11-29 02:30:40 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);