PHPackages                             amitshrestha/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. amitshrestha/calculator

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

amitshrestha/calculator
=======================

This package will initialize a calculator instance for your laravel application.

v1.02(8y ago)118MITPHP

Since Feb 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/amitshrestha221/calculator)[ Packagist](https://packagist.org/packages/amitshrestha/calculator)[ RSS](/packages/amitshrestha-calculator/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

calculator
==========

[](#calculator)

*This repository contains my first package using Laravel 5.5. This repository contains basic calculator package.*

Installation:

```
composer require amitshrestha/calculator:1.02

For Laravel 5.5 : Package is auto discovered.

For Laravel 5.4 or lower version :

Add this in $providers array of config/app.php
"Amitshrestha\\Calculator\\CalculatorServiceProvider"

```

Uses:

```
Add two variables:

@param variable1, variable 2
project.dev/add/variable1/variable2

Subtract two variables:
@param variable1, variable 2
project.dev/subtract/variable1/variable2

Multiply two variables:
@param variable1, variable 2
project.dev/multiply/variable1/variable2

Divide two variables:
@param variable1, variable 2
project.dev/divide/variable1/variable2

Nth Root of variable:
@param variable1
project.dev/root/variable1

Factorial of a variable:
@param variable1
project.dev/factorial/variable1

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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 ~1 days

Total

3

Last Release

3012d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d49827bb522504caaa3a437d1f2e68cd9483c89e32572f9d1336aee6e3e33f7?d=identicon)[amitshrestha221](/maintainers/amitshrestha221)

---

Top Contributors

[![amitshrestha221](https://avatars.githubusercontent.com/u/14818467?v=4)](https://github.com/amitshrestha221 "amitshrestha221 (1 commits)")

### Embed Badge

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

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

###  Alternatives

[freshbitsweb/laravel-cart-manager

Managing the cart of your Laravel application is a breeze

22622.3k1](/packages/freshbitsweb-laravel-cart-manager)

PHPackages © 2026

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