PHPackages                             quetzal-studio/laravel-flip - 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. quetzal-studio/laravel-flip

ActiveLibrary

quetzal-studio/laravel-flip
===========================

Flip package for Laravel

v1.0.2(1y ago)21522MITPHPPHP ^7.4|^8.0

Since Jan 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/kangata/laravel-flip)[ Packagist](https://packagist.org/packages/quetzal-studio/laravel-flip)[ RSS](/packages/quetzal-studio-laravel-flip/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Flip API for Laravel
====================

[](#flip-api-for-laravel)

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

[](#installation)

```
composer require quetzal-studio/laravel-flip

```

```
FLIP_ENV=sandbox // or production
FLIP_CLIENT_KEY=YOUR_FLIP_CLIENT_KEY

```

Example Usage
-------------

[](#example-usage)

```
use QuetzalStudio\Flip\Flip;

try {
    Flip::balance();
} catch (\Illuminate\Http\Client\RequestException $e) {
    // handle request exception
} catch (\Exception $e) {
    // handle exception
}

```

### Get Balance

[](#get-balance)

```
Flip::balance();

```

### Get Maintenance Status

[](#get-maintenance-status)

```
Flip::balance();

```

### Get Banks

[](#get-banks)

```
Flip::banks();

```

### Get Countries

[](#get-countries)

```
Flip::countries();

```

### Get Cities

[](#get-cities)

```
Flip::cities();

```

### Get disbursement

[](#get-disbursement)

> for params you can see details at

```
Flip::getDisbursements();

Flip::getDisbursements(['page' => 2]);

```

### Find disbursement

[](#find-disbursement)

> by default it will find by idempotency-key

```
Flip::findDisbursement('KEY1002');

Flip::findDisbursement('10', 'id');

```

### Bank Account Inquiry

[](#bank-account-inquiry)

```
$account = \QuetzalStudio\Flip\Factories\BankAccountInquiryFactory::make([
    "account_number" => "1122333301",
    "bank_code" => "bni",
    "inquiry_key" => \Illuminate\Support\Str::random(8),
]);

Flip::bankAccountInquiry($account);

```

### Create Money Transfer / Create Disbursement

[](#create-money-transfer--create-disbursement)

```
$payload = \QuetzalStudio\Flip\Factories\MoneyTransferFactory::make([
    'account_number' => '1122333300',
    'bank_code' => 'bni',
    'amount' => '10000',
    'remark' => 'some remark',
    'recipient_city' => '391',
    'beneficiary_email' => 'test@mail.com,user@mail.com'
]);

Flip::moneyTransfer($idempotencyKey = 'KEY1000', $payload);

```

### Create Special Money Transfer / Create Special Disbursement

[](#create-special-money-transfer--create-special-disbursement)

```
$payload = \QuetzalStudio\Flip\Factories\SpecialMoneyTransferFactory::make([
    'account_number' => '1122333301',
    'bank_code' => 'bni',
    'amount' => '10000',
    'remark' => 'some remark',
    'recipient_city' => '391',
    'sender_country' => 100252,
    'sender_place_of_birth' => 391,
    'sender_date_of_birth' => '1992-01-01',
    'sender_identity_type' => 'nat_id',
    'sender_name' => 'John Doe',
    'sender_address' => 'Some Address Street 123',
    'sender_identity_number' => '123456789',
    'sender_job' => 'entrepreneur',
    'direction' => 'DOMESTIC_SPECIAL_TRANSFER',
    'beneficiary_email' => 'test@mail.com,user@mail.com'
]);

Flip::specialMoneyTransfer($idempotencyKey = 'KEY1000', $payload);

```

Notes
-----

[](#notes)

By default all API with return the actual data (int, bool, array) and will throw if request error.

### Need HTTP Response?

[](#need-http-response)

```
Flip::useHttpResponse();

try {
    Flip::balance(); // return Illuminate\Http\Client\Response
} catch (\Illuminate\Http\Client\RequestException $e) {
    // handle request exception
} catch (\Exception $e) {
    // handle exception
}

```

### Disable throw

[](#disable-throw)

```
Flip::disableThrow();

Flip::balance();

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

Every ~249 days

Total

3

Last Release

721d ago

PHP version history (2 changes)v1.0.0PHP ^7.4

v1.0.1PHP ^7.4|^8.0

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/quetzal-studio-laravel-flip/health.svg)

```
[![Health](https://phpackages.com/badges/quetzal-studio-laravel-flip/health.svg)](https://phpackages.com/packages/quetzal-studio-laravel-flip)
```

PHPackages © 2026

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