PHPackages                             vineet/mathmatical-operation - 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. vineet/mathmatical-operation

ActiveLibrary

vineet/mathmatical-operation
============================

vineet/mathmatical-operation

02PHP

Since Jan 17Pushed 3y ago1 watchersCompare

[ Source](https://github.com/vineet-shukla-web/Mathmatical-Operation)[ Packagist](https://packagist.org/packages/vineet/mathmatical-operation)[ RSS](/packages/vineet-mathmatical-operation/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Mathmatical-Operation
=====================

[](#mathmatical-operation)

Installation

Step 1: Create the composer.json file to your root directory and define

```
{
    "minimum-stability": "dev"

}

```

Step 2: Composer Via Composer command line:

```
$ composer require vineet/mathmatical-operation

```

How to use this package

Step 1: Use this way to access this package class

```
$class = new \Vineet\MathmaticalOperation\Calculation()

```

Step 2: To access this method (add,subtract,multiply,division) like

```
$result=$class->add($val1,$val2);

```

Step 3: Create your own file where test your package use below code to access

```
require_once 'vendor/autoload.php';
$class = new \Vineet\MathmaticalOperation\Calculation();
$result=$class->add(10,20);
echo $result;

```

Step 4: Function define like this

```
function add($a,$b){
    return $a+$b;
}
function subtract($a,$b){
    return $a+$b;
}
function multiply($a,$b){
    return $a+$b;
}

function division($a,$b){
    return $a/$b;
}

```

Step 5: Check your TestCases use below command

```
*  .\vendor\bin\phpunit tests

```

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![vineet-shukla-web](https://avatars.githubusercontent.com/u/73554741?v=4)](https://github.com/vineet-shukla-web "vineet-shukla-web (1 commits)")

### Embed Badge

![Health badge](/badges/vineet-mathmatical-operation/health.svg)

```
[![Health](https://phpackages.com/badges/vineet-mathmatical-operation/health.svg)](https://phpackages.com/packages/vineet-mathmatical-operation)
```

PHPackages © 2026

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