PHPackages                             gesparo/calculator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. gesparo/calculator

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

gesparo/calculator
==================

This is the test package for hw4

v1.1.1(2y ago)016mitPHPPHP &gt;=7.0

Since Aug 15Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Gesparo/calculator)[ Packagist](https://packagist.org/packages/gesparo/calculator)[ RSS](/packages/gesparo-calculator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

Why do you need this?
=====================

[](#why-do-you-need-this)

This package helps you to make simple arithmetic operations with OOP approach.

Installation
============

[](#installation)

```
composer require gesparo/calculator
```

Usage
=====

[](#usage)

To create a new instance of Calculator class, use the following code:

```
use Gesparo\Calculator\Calculator;

$calc = new Calculator();
```

Then you can make simple arithmetic operations:

```
$calc->add(1, 2); // 3
$calc->subtract(1, 2); // -1
$calc->multiply(1, 2); // 2
$calc->divide(1, 2); // 0.5
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

1006d ago

PHP version history (2 changes)v1.0.0PHP &gt;=7.4

v1.1.1PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1a14fc88ef2f9f6e9f8ea4a2a7b3ea4e55b88300252a88557b73b580821cd2a?d=identicon)[Gesparo](/maintainers/Gesparo)

---

Top Contributors

[![Gesparo](https://avatars.githubusercontent.com/u/9802906?v=4)](https://github.com/Gesparo "Gesparo (5 commits)")

### Embed Badge

![Health badge](/badges/gesparo-calculator/health.svg)

```
[![Health](https://phpackages.com/badges/gesparo-calculator/health.svg)](https://phpackages.com/packages/gesparo-calculator)
```

###  Alternatives

[tgmpa/tgm-plugin-activation

TGM Plugin Activation is a PHP library that allows you to easily require or recommend plugins for your WordPress themes (and plugins).

1.8k222.5k13](/packages/tgmpa-tgm-plugin-activation)[florianv/business

DateTime calculations in business hours

359775.9k1](/packages/florianv-business)[ether/seo

SEO utilities including a unique field type, sitemap, &amp; redirect manager

284458.7k15](/packages/ether-seo)[froala/yii2-froala-editor

A beautiful WYSIWYG HTML text editor based on HTML5 technology. Cross browser, with mobile support, high performance and Retina Ready modern design.

109229.5k6](/packages/froala-yii2-froala-editor)[kartik-v/yii2-social

Module containing useful widgets for Yii Framework 2.0 that integrates social functionalities from DISQUS, Facebook, Google etc.

91256.5k8](/packages/kartik-v-yii2-social)[silverstripe/subsites

Run multiple sites from a single SilverStripe install.

65392.9k20](/packages/silverstripe-subsites)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
