Download the PHP package fixik/bandwidth without Composer
On this page you can find all versions of the php package fixik/bandwidth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fixik/bandwidth
More information about fixik/bandwidth
Files in fixik/bandwidth
Package bandwidth
Short Description Bandwidth's Iris SDK for PHP
License MIT
Homepage http://dev.bandwidth.com
Informations about the package bandwidth
PHP Client library for Bandwidth's Phone Number Dashboard (AKA: Dashboard, Iris)
Release Notes
Version | Notes |
---|---|
2.0.0 | Fixed incompatibilities with Bandwidth's Dashboard API Create Site function that required breaking changes. Versions less than 2.0.0 are not guaranteed to work with Bandwidth's Dashboard API. |
2.0.1 | Added ActualFocDate to Portins model |
2.0.2 | Fixed HTTP method for set_tn_options to PUT |
2.0.3 | Fixed HTTP request for set_tn_options to the correct XML object |
2.0.4 | Added localVanity to availableNumbers |
2.0.5 | Added NewBillingTelephoneNumber to Portins model |
2.0.6 | Build ReportsModel functionality |
Supported PHP Versions
Version | Support Level |
---|---|
5.5 | Supported |
5.6 | Supported |
7.0 | Supported |
7.1 | Supported |
7.2 | Supported |
7.3 | Supported |
Install
Run
Usage
Run tests
=======
Examples
There is an 'examples' folder in the source tree that shows how each of the API objects work with simple example code. To run the examples:
Edit the config.php to match your IRIS credentials and run the examples individually. e.g.
If the examples take command line parameters, you will get the usage by just executing the individual script.
API Objects
General principles
In most cases you should use Account object as start point.
Account has related entities such Orders, Sites, etc.
Example:
To get stored Sites you should create $sites object and execute get() method.
To reflect object structure:
Available Numbers
Available NpaNxx
Cities
Covered Rate Centers
Disconnected Numbers
Disconnect Numbers
The Disconnect object is used to disconnect numbers from an account. Creates a disconnect order that can be tracked
Create Disconnect
Get Disconnect
Add Note to Disconnect
Get Notes for Disconnect
Dlda
Create Ddla
Get Dlda
Get Dlda History
List Dldas
In Service Numbers
List InService Numbers
Lidb
Create
Get Lidb
List Lidbs
LNP Checker
Check LNP
Orders
Create Order
Get Order
List Orders
Add note to order
Get all Tns for an order
Port Ins
Create PortIn
Get PortIn
List PortIns
PortIn Instance methods
PortIn File Management
Rate Centers
List Ratecenters
SIP Peers
Create SIP Peer
Get SIP Peer
List SIP Peers
Delete SIP Peer
Move TNs
Get TNs
Get TN
Total TNs
Set TN Options
Sites
Create A Site
Updating a Site
Deleting a Site
Listing All Sites
Orders of a site
Total TNs of a site
Portins of a site
Sippeers
[see SIP Peers]