Desenvolvimento pacote php

Installs: 5

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/mereo-desenvolvimento/php-mereo

v1.0.0 2024-08-21 15:30 UTC

This package is auto-updated.

Last update: 2025-12-21 18:46:25 UTC


README

The Mereo class is a simple PHP class that provides basic arithmetic operations: addition, subtraction, and multiplication.

Installation

You can include the Mereo class in your PHP project by simply running the command below:

composer require mereo-desenvolvimento/php-mereo

Usage

To use the Calculator class, you need to instantiate the class and then call its methods to perform arithmetic operations.

Example

<?php

require __DIR__.'/vendor/autoload.php';

use MereoDesenvolvimento\PHPMereo\Mereo;

$calculator = new Mereo();

$sum = $calculator->add(2, 3);
echo "Sum: " . $sum;

$difference = $calculator->subtract(5, 3);
echo "Difference: " . $difference;

$product = $calculator->multiply(4, 3);
echo "Product: " . $product;