PHPackages                             pavlyuts/portabilling - 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. pavlyuts/portabilling

Abandoned → [porta/billing](/?search=porta%2Fbilling)Library[API Development](/categories/api)

pavlyuts/portabilling
=====================

PortaOne billing API wrapper

0.10(4y ago)17.8k↓75.6%GPL-2.0-or-laterPHP

Since Nov 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/pavlyuts/portabilling)[ Packagist](https://packagist.org/packages/pavlyuts/portabilling)[ Docs](https://github.com/pavlyuts/portabilling)[ RSS](/packages/pavlyuts-portabilling/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (10)Used By (0)

PortaOne Billing API and Events wrapper for PHP
===============================================

[](#portaone-billing-api-and-events-wrapper-for-php)

Purpose
-------

[](#purpose)

This package intended to simplify communication to PortaOne billing system while creating user portal applications, integration and provisioning code. Build for composer with PSR-4 autoload, uses PSR-3 object for logging.

*Not properly tested, use at your own risk!*

Classes:

- **[BillingAPI](https://github.com/pavlyuts/portabilling/wiki/Billing-API)** classes wrapping PortaBilling API. Used to create, read, change and remove objects in the billing system.
- **[BillingEvent](https://github.com/pavlyuts/portabilling/wiki/Billing-Event)** class to recieve and handle events from the billing system.
- **[BillingEventDispatcher](https://github.com/pavlyuts/portabilling/wiki/Billing-Event-Dispatcher)** class to dispatch events from the billing system over different HTTP(s) andpoints based on routing map.

Please, refer [project Wiki](https://github.com/pavlyuts/portabilling/wiki) for details and usage example.

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

[](#installation)

In the Composer storage. Just add proper require section:

```
"require": {
    "pavlyuts/portabilling": "*"
}

```

It is a good idea to fix the version you use. Don't use next wersion without review, I can't promose backward compatibility even will try to keep it. Please, review the [changelog](https://github.com/pavlyuts/portabilling/blob/master/CHANGELOG.md) before to change used version.

Dependencies
------------

[](#dependencies)

- psr/log: ^1.1
- rmccue/requests: ^1.7

PortaOne documentation
----------------------

[](#portaone-documentation)

Please, refer to PortaOne documentation and go to the training before use of this package.

- [PortaBilling API docs](https://www.portaone.com/docs/PortaBilling_API.html)
- [External system provisioning framework (ESPF) docs](https://www.portaone.com/docs/PortaSwitch_Interfaces.pdf#page=45)
- [ESPF event list and passed values](https://www.portaone.com/docs/PortaSwitch_Interfaces.pdf#page=55)
- [Provisioning Application Reference Guide](https://www.portaone.com/docs/Provisioning_Application_Guide.pdf)
- [ESPF configuration handbook](https://www.portaone.com/handbook/index.htm#t=External_System_Provisioning%2FESPF_Configuration%2FESPF_Configuration.htm)
- [Administrator guide](https://www.portaone.com/docs/PortaBilling_Admin_Guide.pdf)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Recently: every ~10 days

Total

9

Last Release

1614d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/51fb7e1bfe1a741b842ccaffe58a95229f1afa531676dff7d14e61cda27a9ae7?d=identicon)[pavlyuts](/maintainers/pavlyuts)

---

Top Contributors

[![pavlyuts](https://avatars.githubusercontent.com/u/6569739?v=4)](https://github.com/pavlyuts "pavlyuts (55 commits)")

---

Tags

apibillingportaoneportastart

### Embed Badge

![Health badge](/badges/pavlyuts-portabilling/health.svg)

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

###  Alternatives

[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M159](/packages/algolia-algoliasearch-client-php)[deeplcom/deepl-php

Official DeepL API Client Library

2607.3M114](/packages/deeplcom-deepl-php)[pubnub/pubnub

This is the official PubNub PHP SDK repository.

1335.4M17](/packages/pubnub-pubnub)[api-platform/metadata

API Resource-oriented metadata attributes and factories

275.0M219](/packages/api-platform-metadata)[bushlanov-dev/max-bot-api-client-php

Max Bot API Client library

486.3k](/packages/bushlanov-dev-max-bot-api-client-php)[webit/w-firma-api

wFirma.pl API

1822.0k](/packages/webit-w-firma-api)

PHPackages © 2026

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