Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
Airtime
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
opensources
Airtime
Commits
86f26e54
Commit
86f26e54
authored
May 25, 2017
by
camoo
Committed by
GitHub
May 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
5b82cec2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
README.md
README.md
+22
-0
No files found.
README.md
View file @
86f26e54
...
...
@@ -12,3 +12,25 @@ This library needs minimum requirement for doing well on run.
-
[
Sign up
](
https://www.camoo.cm/join
)
for a free CAMOO account
-
Ask CAMOO Team for new access_key for developers
-
CAMOO TOPUP API client for PHP requires version 5.5.x and above
Quick Examples
1) Sending a Airtime
```php
require_once('src/autoload.php');
$oAirtime = new \CAMOO\Airtime\Airtime('592595095gh57', '4e32da5979879b89479847b9798479494984');
// receiver recipient
$oAirtime->destination_msisdn='237671234567';
// airtime from
$oAirtime->msisdn= '237661562859';
// airtime product
$oAirtime->topup=100;
// just to test
//$oAirtime->test_mode=true;
$oAirtime->send_sms=true;
// set developer custom message
$oAirtime->sms='YourCompany Best Topup Service'; // max length 30 chars
var_dump($oAirtime->send());
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment