This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
You can install the package via composer:
composer require openpesa/pesa
use Openpesa\SDK\Pesa; // Set the consumer key and consumer secret as follows $username = 'YOUR_USERNAME'; // use 'sandbox' for development in the test environment $apiKey = 'YOUR_API_KEY'; // use your sandbox app API key for development in the test environment // Get one of the services $pesa = new Pesa($public_key, $apiKey); // Use the service $result = $pesa->c2b($invoice_id, $phone_number, $amount, $reference_id, $shortcode); print_r($result);
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.
PHP Package Boilerplate
This package was generated using the PHP Package Boilerplate.