Download the PHP package aingelc12ell/globe-connect-php without Composer
On this page you can find all versions of the php package aingelc12ell/globe-connect-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package globe-connect-php
Globe Connect for PHP
Setting Up
Authentication
Overview
If you haven't signed up yet, please follow the instructions found in Getting Started to obtain an App ID and App Secret these tokens will be used to validate most of your interaction requests with the Globe APIs.
The authenication process follows the protocols of **OAuth 2.0**. The example code below shows how you can swap your app tokens for an access token.
Sample Code
Sample Results
SMS
Overview
Short Message Service (SMS) enables your application or service to send and receive secure, targeted text messages and alerts to your Globe / TM subscribers.
Note: All API calls must include the access_token as one of the Universal Resource Identifier (URI) parameters.
SMS Sending
Send an SMS message to one or more mobile terminals:
Sample Code
Sample Results
SMS Binary
Send binary data through SMS:
Sample Code
Sample Results
SMS Mobile Originating (SMS-MO)
Receiving an SMS from globe (Mobile Originating - Subscriber to Application):
Sample Code
Sample Results
Voice
Overview
The Globe APIs has a detailed list of voice features you can use with your application.
Voice Ask
You can take advantage of Globe's automated Ask protocols to help service your customers without manual intervention for common questions in example.
Sample Code
Sample Results
Voice Answer
You can take advantage of Globe's automated Ask protocols to help service your customers without manual intervention for common questions in example.
Sample Code
Sample Results
Voice Ask Answer
A better sample of the Ask and Answer dialog would look like the following.
Sample Code
Sample Results
Voice Call
You can connect your app to also call a customer to initiate the Ask and Answer features.
Sample Code
Sample Results
Voice Conference
You can take advantage of Globe's automated Ask protocols to help service your customers without manual intervention for common questions in example.
Sample Code
Sample Results
Voice Event
Call events are triggered depending on the response of the receiving person. Events are used with the Ask and Answer features.
Sample Code
Sample Results
Voice Hangup
Between your automated dialogs (Ask and Answer) you can automatically close the voice call using this feature.
Sample Code
Sample Results
Voice Record
It is helpful to sometime record conversations, for example to help improve on the automated dialog (Ask and Answer). The following sample shows how you can use connect your application with voice record features.
Sample Code
Sample Results
Voice Reject
To filter incoming calls automatically, you can use the following example below.
Sample Code
Sample Results
Voice Routing
To help integrate Globe Voice with web applications, this API using routing which can be easily routed within your framework.
Sample Code
Sample Results
Voice Say
The message you pass to say will be transformed to an automated voice.
Sample Code
Sample Results
Voice Transfer
The following sample explains the dialog needed to transfer the receiver to another phone number.
Sample Code
Sample Results
Voice Transfer Whisper
TODO
Sample Code
Sample Results
Voice Wait
To put a receiver on hold, you can use the following sample.
Sample Code
Sample Results
USSD
Overview
USSD are basic features built on most smart phones which allows the phone owner to interact with menu item choices.
USSD Sending
The following example shows how to send a USSD request.
Sample Code
Sample Results
USSD Replying
The following example shows how to send a USSD reply.
Sample Code
Sample Results
Payment
Overview
Your application can monetize services from customer's phone load by sending a payment request to the customer, in which they can opt to accept.
Payment Requests
The following example shows how you can request for a payment from a customer.
Sample Code
Sample Results
Payment Last Reference
The following example shows how you can get the last reference of payment.
Sample Code
Sample Results
Amax
Overview
Amax is an automated promo builder you can use with your app to award customers with certain globe perks.
Sample Code
Sample Results
Location
Overview
To determine a general area (lat,lng) of your customers you can utilize this feature.
Sample Code
Sample Results
Subscriber
Overview
Subscriber Data Query API interface allows a Web application to query the customer profile of an end user who is the customer of a mobile network operator.
Subscriber Balance
The following example shows how you can get the subscriber balance.
Sample Code
Sample Results
Subscriber Reload
The following example shows how you can get the subscriber reload amount.