PHPackages                             mcris112/billable - 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. mcris112/billable

ActiveLibrary[Payment Processing](/categories/payments)

mcris112/billable
=================

Laravel Package for handling Billing, Orders, Subscriptions manager - local

v0.3(2y ago)120MITPHPPHP ^8.1

Since Apr 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/MCris112/laravel-billable)[ Packagist](https://packagist.org/packages/mcris112/billable)[ RSS](/packages/mcris112-billable/feed)WikiDiscussions master Synced 1mo ago

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

Laravel - Billable
==================

[](#laravel---billable)

**Laravel - Billable** is a project to can accept a variety of payments methods and based on currency `If u have some recommendations, please do.`

- **Author**: MCris112
- **Vendor**: mcris112
- **Package**: laravel-billable
- **Version**: `1.x`
- **PHP Version**: 8.1+
- **Laravel Version**: `10.x`

Table of Contents
=================

[](#table-of-contents)

1. [Installation](#Installation)
2. [Usage](#usage)
    1. [Order](#order)
        1. [Get](#orderget)
        2. [Get](#orderget-a-nameorder-geta)
        3. [Create](#ordercreate)
        4. [Item](#orderitem)
        5. [toResource()](#order-toresource)

### Payment Supports

[](#payment-supports)

- MercadoPago
- Paypal

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

[](#installation)

Install the package with the command **[Composer](https://getcomposer.org/):**

```
composer require mcris112/laravel-billable
```

Usage
-----

[](#usage)

```
//Return the Order cached and ready to use
$order = Order::get('9b3731fd-290d-4fbd-ab99-3d675080c37f');

// This can use it to set as api response
$order->toResource();
```

### ORDER

[](#order)

`Order::class` is a Model from laravel but with some additional functions, and It's used for creating Orders or use it into payment processing

#### Functions

[](#functions)

##### Order::get()

[](#orderget)

This static method is called when u want to retrieve the Order

```
$order = Order::get('9b3731fd-290d-4fbd-ab99-3d675080c37f');
```

Why do I have to use `Order::get($id)` instead of `Order::whereId($id)->get()` if It's a laravel model class?

Internally this method uses `whereId()` but this is returned as cached from DB

```
/**
* Return the Order cached forever
* @param string $id
* @return self
* @throws OrderNotFoundException
*/
public static function get(string $id): self
{
    ...
}
```

##### Order::create()

[](#ordercreate)

##### Order::Item()

[](#orderitem)

##### $order-&gt;toResource()

[](#order-toresource)

#### Relations

[](#relations)

##### Items

[](#items)

##### User

[](#user)

##### Statuses

[](#statuses)

Contributing
------------

[](#contributing)

License
-------

[](#license)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

Unknown

Total

1

Last Release

774d ago

### Community

Maintainers

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

---

Top Contributors

[![MCris112](https://avatars.githubusercontent.com/u/32046639?v=4)](https://github.com/MCris112 "MCris112 (19 commits)")

---

Tags

laravelbillinglaravel-packagesmercadopagoorderstransactionizipay

### Embed Badge

![Health badge](/badges/mcris112-billable/health.svg)

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

###  Alternatives

[amsgames/laravel-shop

Package set to provide shop or e-commerce functionality (such as CART, ORDERS, TRANSACTIONS and ITEMS) to Laravel for customizable builds.

4845.9k](/packages/amsgames-laravel-shop)[simonhamp/laravel-stripe-connect

1343.1k](/packages/simonhamp-laravel-stripe-connect)[dinkbit/conekta-cashier

Dinkbit Cashier nos da una interface para cobrar subscripciones con Conketa en Laravel.

355.4k](/packages/dinkbit-conekta-cashier)[threesquared/laravel-paymill

Laravel wrapper for the Paymill API

121.3k](/packages/threesquared-laravel-paymill)

PHPackages © 2026

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