PHPackages                             otas/payable - 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. otas/payable

ActiveLibrary[Payment Processing](/categories/payments)

otas/payable
============

a laravel package to deal with otas payment handler.

1.0.1(2mo ago)025↓50%proprietaryPHP

Since Aug 21Pushed 2mo agoCompare

[ Source](https://github.com/SolutionPlus-net/otas_payable_package)[ Packagist](https://packagist.org/packages/otas/payable)[ RSS](/packages/otas-payable/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (6)Versions (4)Used By (0)

Otas/Payable
============

[](#otaspayable)

otas/payable is a Laravel package for dealing with specific case of payments, it doesn't suit all needs.

Table of Content
----------------

[](#table-of-content)

[Installation](#Installation)

[Usage](#Usage)

[License](#License)

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

[](#installation)

You can install the package using composer

```
# cli commands

composer require otas/payable
```

usage
-----

[](#usage)

There is some predefined methods to perform the needed actions:

```
    # create payment request object from payment microservice:
    # `$payableData` should be ['key' => 'value'] pair array which represent inputs in request
    $payable = new Payable($companyReferenceNumber);
    $response = $payable->withHeaders(['X-example' => 'header-value'])->createPaymentRequest($payableData);
```

// `$payableData` validation rules are as the following:

```
    [
        'gateway' => 'required|string|exists:gateways,name',
        'currency' => 'required|string|exists:currencies,iso_code',
        'amount' => 'required|numeric|min:1|max:9999999999',
        'due_date' => 'required|date_format:Y-m-d H:i:s|after:' . now(),
        'payable_reference_number' => 'sometimes|string|min:10|max:25',

        'name' => 'required|string|min:3|max:225',
        'email' => 'required|email',
        'phone' => 'required|min:1|digits_between:9,15',
        'country_code' => 'required_with:phone|min:3|max:5',
        'street' => 'required|string|min:3|max:20',
        'city' => 'required|string|min:3|max:20',
        'state' => 'required|string|min:3|max:20',
        'country' => 'required|string|min:3|max:20',
        'zip' => 'required|numeric|digits:5',
    ];
```

#### Note:

[](#note)

> UNDER CONSTRUCTION.

License
-------

[](#license)

Otas/payable package is limited and proprietary software belongs to Otas.net company.

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance88

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

2

Last Release

65d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12228974?v=4)[solutionplus](/maintainers/solutionplus)[@solutionplus](https://github.com/solutionplus)

---

Top Contributors

[![ah-mabrouk](https://avatars.githubusercontent.com/u/22894638?v=4)](https://github.com/ah-mabrouk "ah-mabrouk (12 commits)")[![omar-ashraf-s](https://avatars.githubusercontent.com/u/175690905?v=4)](https://github.com/omar-ashraf-s "omar-ashraf-s (12 commits)")[![mhmdahmd2422](https://avatars.githubusercontent.com/u/75953871?v=4)](https://github.com/mhmdahmd2422 "mhmdahmd2422 (2 commits)")[![Habiba-M-Hamed](https://avatars.githubusercontent.com/u/174694460?v=4)](https://github.com/Habiba-M-Hamed "Habiba-M-Hamed (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/otas-payable/health.svg)

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

###  Alternatives

[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3518.3k](/packages/duncanmcclean-statamic-cargo)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135224.7k8](/packages/statamic-rad-pack-runway)[api-platform/laravel

API Platform support for Laravel

58174.6k17](/packages/api-platform-laravel)

PHPackages © 2026

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