Skip to content

pavlyuts/portabilling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PortaOne Billing API and Events wrapper for PHP

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.

About

PortaOne billing API wrapper for PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages