PHPackages                             xaoc303/battle-calc - 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. xaoc303/battle-calc

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

xaoc303/battle-calc
===================

v2.1(11y ago)018PHPPHP &gt;=5.4.0

Since May 30Pushed 11y ago1 watchersCompare

[ Source](https://github.com/xaoc-303/battle-calc)[ Packagist](https://packagist.org/packages/xaoc303/battle-calc)[ RSS](/packages/xaoc303-battle-calc/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

Battle Calc
===========

[](#battle-calc)

[![Build Status](https://camo.githubusercontent.com/2238d0e721e494f8ade487936a92386813cab00ebe504d095d9beec442f7c927/68747470733a2f2f7472617669732d63692e6f72672f78616f632d3330332f626174746c652d63616c632e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/xaoc-303/battle-calc)[![Latest Stable Version](https://camo.githubusercontent.com/10511c560cb4a779aa5947cbefd6bb30a4a6ef9f5cf7939dab5f1ac4ae013791/68747470733a2f2f706f7365722e707567782e6f72672f78616f633330332f626174746c652d63616c632f762f737461626c65)](https://packagist.org/packages/xaoc303/battle-calc)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c68e4c504ce0c9537a15b135e1f09f73f757a5bc71c0680c05097afa532a3448/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f78616f632d3330332f626174746c652d63616c632f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/xaoc-303/battle-calc/?branch=master)

Composer
--------

[](#composer)

In the `require` key of `composer.json` file add the following

```
"xaoc303/battle-calc": "~2.0"
```

or run command

```
$ composer require xaoc303/battle-calc:~2.0
```

Run the Composer update command

```
$ composer update
```

Setting
-------

[](#setting)

In your `config/app.php` add `'Xaoc303\BattleCalc\BattleCalcServiceProvider'` to the end of the `providers` array

```
'providers' => array(

    'Illuminate\Foundation\Providers\ArtisanServiceProvider',
    'Illuminate\Auth\AuthServiceProvider',
    ...
    'Xaoc303\BattleCalc\BattleCalcServiceProvider',

),
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

3

Last Release

4040d ago

Major Versions

v1.0 → v2.02015-05-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/d3a20b6c98093d8f2f90ac6300fb479af3cda8c5d828b1303b1885105cb3e21c?d=identicon)[xaoc-303](/maintainers/xaoc-303)

---

Top Contributors

[![xaoc-303](https://avatars.githubusercontent.com/u/4671925?v=4)](https://github.com/xaoc-303 "xaoc-303 (11 commits)")

---

Tags

battlecalculatorfightinglaravelphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/xaoc303-battle-calc/health.svg)

```
[![Health](https://phpackages.com/badges/xaoc303-battle-calc/health.svg)](https://phpackages.com/packages/xaoc303-battle-calc)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M10](/packages/renatomarinho-laravel-page-speed)[illuminate/pagination

The Illuminate Pagination package.

12234.1M1.0k](/packages/illuminate-pagination)[illuminate/pipeline

The Illuminate Pipeline package.

9349.2M282](/packages/illuminate-pipeline)[illuminate/redis

The Illuminate Redis package.

8314.6M374](/packages/illuminate-redis)[illuminate/cookie

The Illuminate Cookie package.

244.6M136](/packages/illuminate-cookie)

PHPackages © 2026

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