PHPackages                             blesta/proration - 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. [Payment Processing](/categories/payments)
4. /
5. blesta/proration

ActiveLibrary[Payment Processing](/categories/payments)

blesta/proration
================

A proration calculator

2.0.0(9y ago)1821↓33.3%2[3 issues](https://github.com/blesta/proration/issues)MITPHPPHP &gt;=5.3.0

Since Feb 24Pushed 9y ago4 watchersCompare

[ Source](https://github.com/blesta/proration)[ Packagist](https://packagist.org/packages/blesta/proration)[ Docs](http://github.com/blesta/proration)[ RSS](/packages/blesta-proration/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (9)Used By (0)

blesta/proration
================

[](#blestaproration)

Proration Calculator

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

[](#installation)

Install via composer:

```
composer require blesta/proration:~2.0
```

Basic Usage
-----------

[](#basic-usage)

```
use Blesta\Proration\Proration;

$start_date = date('c');
$prorate_day = 1;
$term = 1;
$period = 'month';
$proration = new Proration($start_date, $prorate_day, $term, $period);

echo $proration->prorateDate();
echo $proration->canProrate();
echo $proration->prorateDays();
echo $proration->proratePrice(5.00);
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 81.3% 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 ~98 days

Recently: every ~169 days

Total

8

Last Release

3415d ago

Major Versions

1.3.1 → 2.0.02017-01-10

PHP version history (2 changes)1.0.0PHP &gt;=5.1.0

2.0.0PHP &gt;=5.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f87ae869d67f48673504d6cba1adcb8945a3ba8280798917e18b7c744009fc2?d=identicon)[clphillips](/maintainers/clphillips)

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

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

---

Top Contributors

[![clphillips](https://avatars.githubusercontent.com/u/682986?v=4)](https://github.com/clphillips "clphillips (13 commits)")[![tysonphillips](https://avatars.githubusercontent.com/u/8607630?v=4)](https://github.com/tysonphillips "tysonphillips (2 commits)")[![JReissmueller](https://avatars.githubusercontent.com/u/18198499?v=4)](https://github.com/JReissmueller "JReissmueller (1 commits)")

---

Tags

billingprorationprorata

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/blesta-proration/health.svg)

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

###  Alternatives

[lemonsqueezy/laravel

A package to easily integrate your Laravel application with Lemon Squeezy.

58596.1k](/packages/lemonsqueezy-laravel)[mollie/laravel-cashier-mollie

Laravel Cashier provides an expressive, fluent interface to Mollie's subscription billing services.

172155.4k1](/packages/mollie-laravel-cashier-mollie)[lanos/laravel-cashier-stripe-connect

Adds Stripe Connect functionality to Laravel's main billing package, Cashier.

84138.9k](/packages/lanos-laravel-cashier-stripe-connect)[expdev07/laravel-cashier-stripe-connect

Adds Stripe Connect functionality to Laravel's main billing package, Cashier.

63135.6k](/packages/expdev07-laravel-cashier-stripe-connect)[potelo/gu-payment

GuPayment fornece uma interface para controlar assinaturas do iugu.com

7812.7k](/packages/potelo-gu-payment)[danestves/laravel-polar

A package to easily integrate your Laravel application with Polar.sh

7812.3k](/packages/danestves-laravel-polar)

PHPackages © 2026

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