PHPackages                             kylemassacre-mcc/bank - 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. [API Development](/categories/api)
4. /
5. kylemassacre-mcc/bank

ActiveLibrary[API Development](/categories/api)

kylemassacre-mcc/bank
=====================

A bank module for the MCC api

v1.0.0(10y ago)012PHPPHP &gt;=5.5.9

Since Mar 26Pushed 10y ago1 watchersCompare

[ Source](https://github.com/KyleMassacre/MCC-API-Bank)[ Packagist](https://packagist.org/packages/kylemassacre-mcc/bank)[ RSS](/packages/kylemassacre-mcc-bank/feed)WikiDiscussions master Synced 3w ago

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

MCC-API-Bank
============

[](#mcc-api-bank)

#### *For Laravel 5.1*

[](#for-laravel-51)

#### Installation

[](#installation)

Install via cli `php artisan module:install kylemassacre-mcc/bank`Open up app/Providers/AppServiceProvider.php and add in the register method:

```
$this->app->bind([
    ...
    \Modules\Bank\Providers\BankServiceProvider::class
]);
```

Run the artisan command: `php artisan vendor:publish --provider="Modules\Bank\Providers\BankServiceProvider"`

#### API Endpoints:

[](#api-endpoints)

MethodEndpointRoute NameGET/HEAD/api/cyberbank/buycyber.buyPOST/api/cyberbank/depositcyber.depositPOST/api/cyberbank/withdrawcyber.withdrawGET/HEAD/api/bank/buybank.buyPOST/api/bank/depositbank.depositPOST/api/bank/withdrawbank.withdraw### Sample Responses

[](#sample-responses)

##### Successful Withdraw

[](#successful-withdraw)

```
{
  "success": {
    "message": "You have withdrew $1 from your account",
    "txn_details": {
      "amount": "$2",
      "past_balance": "$5",
      "new_balance": "$3",
      "fees": "$1"
    }
  }
}
```

##### Successful Deposit

[](#successful-deposit)

```
{
  "success": {
    "message": "You have deposited $1 into your account",
    "txn_details": {
      "amount": "$2",
      "past_balance": "$3",
      "new_balance": "$4",
      "fees": "$1"
    }
  }
}
```

##### Invalid Responses

[](#invalid-responses)

**Malformed Amount**

```
{
  "message": "422 Unprocessable Entity",
  "errors": {
    "amount": [
      "You must provide a valid transaction amount",
      "Your transaction amount must be at least $2"
    ]
  }
```

**Not enough funds**

```
{
  "message": "You don't have enough funds to put that in your bank",
  "status_code": 200,
}
```

```
{
  "message": "You don't have enough funds in your Cyber Bank",
  "status_code": 200,
}
```

**No Bank**

```
{
  "message": "You must own a Cyber Bank",
  "status_code": 200,
}
```

**Purchase Bank**

```
{
  "success": "You have purchased a Bank"
}
```

**Can't afford Bank**

```
{
  "message": "You do not have $10,000,000 to open an account",
  "status_code": 200,
}
```

**Already Own Bank**

```
{
  "message": "You already own a Bank",
  "status_code": 200,
}
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

3744d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4021612?v=4)[Kyle Ellis](/maintainers/KyleMassacre)[@KyleMassacre](https://github.com/KyleMassacre)

---

Top Contributors

[![KyleMassacre](https://avatars.githubusercontent.com/u/4021612?v=4)](https://github.com/KyleMassacre "KyleMassacre (6 commits)")

### Embed Badge

![Health badge](/badges/kylemassacre-mcc-bank/health.svg)

```
[![Health](https://phpackages.com/badges/kylemassacre-mcc-bank/health.svg)](https://phpackages.com/packages/kylemassacre-mcc-bank)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.5M920](/packages/statamic-cms)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k36.4M126](/packages/darkaonline-l5-swagger)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k13.5M60](/packages/knuckleswtf-scribe)[mozex/anthropic-laravel

Laravel integration for the Anthropic API: facade, config publishing, install command, testing fakes, messages, streaming, tool use, thinking, and batches.

72287.1k1](/packages/mozex-anthropic-laravel)[justbetter/laravel-magento-client

A client to interact with Magento

49108.7k14](/packages/justbetter-laravel-magento-client)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

783.5k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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