PHPackages                             bitocredit/laravel-gateway - 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. bitocredit/laravel-gateway

ActiveLibrary[API Development](/categories/api)

bitocredit/laravel-gateway
==========================

A Laravel package for integrate with bitocredit API.

v1.1(3y ago)147MITPHP

Since Aug 16Pushed 3y agoCompare

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

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

### [Bitocredit Laravel Package](https://bitocredit.com/document/en/post/laravel)

[](#bitocredit-laravel-package)

##### This package used for integrate with [Bitocredit](https://bitocredit.com/) api

[](#this-package-used-for-integrate-with-bitocredit-api)

usage
=====

[](#usage)

Require this package with composer using the following command:

```
composer require bitocredit/laravel-gateway
```

publish config files with this command: ```
php artisan vendor:publish --tag=laravelGateway
```

and finally add these variables to .env file: ```
GATEWAY_BASE_URL=https://bitocredit.com/api/
GATEWAY_TOKEN=YOUR_TOKEN
```

now you can use this package like this:

```
    use Bitocredit\LaravelGateway\Facades\Api;
    $result = Api::createWallet("wallet_id" , "network") // replace wallet_id with your wallet id and set network type
```

methods
=======

[](#methods)

- [createWallet](#createwallet)
- [transactionCheck](#transactioncheck)
- [transactionRecovery](#transactionrecovery)
- [transactionFee](#transactionfee)
- [transactionExample](#transactionexample)

createWallet
==================================================

[](#createwallet)

This method used for creating wallet for user

endpoint : [https://bitocredit.com/api/create/wallet/{token}](https://bitocredit.com/api/create/wallet/%7Btoken%7D)

```
    $result = Api::createWallet("wallet_id" , "network") // replace wallet_id with your wallet id and set network type
```

transactionCheck
==========================================================

[](#transactioncheck)

This method used for check a transaction is confirmed or not

endpoint : [https://bitocredit.com/api/transaction/check/{token}](https://bitocredit.com/api/transaction/check/%7Btoken%7D)

```
    $result = Api::transactionCheck("transaction_hash"); // replace transaction_hash with your transaction hash
```

transactionRecovery
================================================================

[](#transactionrecovery)

This method used for check a transaction that is lost in blockchain

endpoint : [https://bitocredit.com/api/transaction/recovery/{token}](https://bitocredit.com/api/transaction/recovery/%7Btoken%7D)

```
    $result = Api::transactionRecovery("transaction_hash"); // replace transaction_hash with your transaction hash
```

transactionFee
======================================================

[](#transactionfee)

This method used for check a transaction that is lost in blockchain

endpoint : [https://bitocredit.com/api/transaction/fee/{token}](https://bitocredit.com/api/transaction/fee/%7Btoken%7D)

```
    $result = Api::transactionFee();
```

transactionExample
==============================================================

[](#transactionexample)

Please only use this api for test ! it's only an example to show how the server sends data to callback after payment confirmation

endpoint :

```
    $result = Api::transactionExample("transaction_hash"); // replace transaction_hash with your transaction hash
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Recently: every ~15 days

Total

8

Last Release

1304d ago

### Community

Maintainers

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

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

---

Top Contributors

[![rezaMotahary](https://avatars.githubusercontent.com/u/56221733?v=4)](https://github.com/rezaMotahary "rezaMotahary (18 commits)")

---

Tags

apicurrencyBitocredit

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bitocredit-laravel-gateway/health.svg)

```
[![Health](https://phpackages.com/badges/bitocredit-laravel-gateway/health.svg)](https://phpackages.com/packages/bitocredit-laravel-gateway)
```

###  Alternatives

[ultraleet/currency-rates

Library for interacting with various currency exchange rates APIs

108.1k](/packages/ultraleet-currency-rates)

PHPackages © 2026

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