PHPackages                             mergimu/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. [Testing &amp; Quality](/categories/testing)
4. /
5. mergimu/calculator

ActiveLibrary[Testing &amp; Quality](/categories/testing)

mergimu/calculator
==================

Test laravel package

1.0.2(5y ago)18MITPHP

Since Jul 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/MergimUkaa/Calculator)[ Packagist](https://packagist.org/packages/mergimu/calculator)[ Docs](https://github.com/MergimUkaa/calculator)[ RSS](/packages/mergimu-calculator/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

Calculator
==========

[](#calculator)

[![Latest Version on Packagist](https://camo.githubusercontent.com/86b159eb0b2411f11d862e5f2d9bf13d294ddd72e6eee223aead160c6715ad29/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d657267696d752f63616c63756c61746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mergimu/calculator)

This is where your description should go. Take a look at [contributing.md](contributing.md) to see a to do list.

Installation
------------

[](#installation)

Via Composer

```
$ composer require mergimu/calculator
```

Usage
-----

[](#usage)

```
use MergimU\Calculator\Facades\Calculator;
Calculator::initialValue(number)->add(number)->getResult()
```

Available Methods
-----------------

[](#available-methods)

```
intitalValue(number -> default = 0)
add(number)
subtract(number)
multiply(number)
square()
clear()
getResult()
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Mergim Uka](https://github.com/MergimUkaa)
- [All Contributors](../../contributors)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

3

Last Release

2123d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10147384?v=4)[Mergim Ujkani](/maintainers/MergimU)[@MergimU](https://github.com/MergimU)

---

Top Contributors

[![MergimUkaa](https://avatars.githubusercontent.com/u/29704608?v=4)](https://github.com/MergimUkaa "MergimUkaa (13 commits)")

---

Tags

laravelcalculator

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[larastan/larastan

Larastan - Discover bugs in your code without running it. A phpstan/phpstan extension for Laravel

6.4k43.5M5.2k](/packages/larastan-larastan)[timacdonald/log-fake

A drop in fake logger for testing with the Laravel framework.

4235.9M54](/packages/timacdonald-log-fake)[mpociot/laravel-test-factory-helper

Generate Laravel test factories from your existing models

933635.2k1](/packages/mpociot-laravel-test-factory-helper)[christophrumpel/missing-livewire-assertions

This package adds missing livewire test assertions.

149336.0k9](/packages/christophrumpel-missing-livewire-assertions)[davestewart/sketchpad

An innovative front-end environment for interactive Laravel development

29512.9k1](/packages/davestewart-sketchpad)[encodia/laravel-health-env-vars

Custom check for Spatie's Laravel Health - Ensure every .env variable you need has been set

20143.5k](/packages/encodia-laravel-health-env-vars)

PHPackages © 2026

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