pavlyuts/portabilling

This package is abandoned and no longer maintained. The author suggests using the porta/billing package instead.

PortaOne billing API wrapper

0.10 2022-02-01 07:23 UTC

This package is auto-updated.

Last update: 2023-06-04 23:28:05 UTC


README

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 classes wrapping PortaBilling API. Used to create, read, change and remove objects in the billing system.
  • BillingEvent class to recieve and handle events from the billing system.
  • BillingEventDispatcher class to dispatch events from the billing system over different HTTP(s) andpoints based on routing map.

Please, refer project Wiki for details and usage example.

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 before to change used version.

Dependencies

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

PortaOne documentation

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