Download the PHP package chandachewe/airtelmomoapi without Composer

On this page you can find all versions of the php package chandachewe/airtelmomoapi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package airtelmomoapi

AIRTEL MOMO API FOR COLLECTING PAYMENTS FROM CUSTOMERS - PHP

AIRTEL Money Developer API using PHP For Pushing Payments From a Customer.

Documentation and official resources can be found at AIRTEL Developer Portal: https://developers.airtel.africa/login

Please note that Airtel does not provide free MoMo API Testing like MTN does. Hence for you

To get started you should complete the following in full.

Prerequisites

  1. You have Signed Up at: https://developers.airtel.africa/login

  2. You have created an application there and your application has been approved.

  3. You possess the client_id and the client_secret. Please note that When you register for an application on the developer portal you will only be given the client_id, you will not be given the client_secret, the client_secret will only be given to you when you submit your business formalities to their offices. That is when they will approve the application you created online and give you the client_secret. You cant perform any transactions or whatsoever without one of these credentials.

Getting Started

This PHP Package is for creating the bearer token which you can import in your application

  1. Install Composer in your machine (well atleast if you have not installed) and download this package.
  2. On your CLI type composer require chandachewe/airtelmomoapi to install the package.
  3. Navigate to client_id and put your client_id there.

  4. Navigate to client_secret and put your client_secret there.

  5. open the push_payments.php and fill in on missing variables indicated with *******************

  6. You can now open your localhost (using xampp/wampp) and run the push_payments.php file using localhost in your browser.

  7. This repository is not affliated with AIRTEL.

All versions of airtelmomoapi with dependencies

PHP Build Version
Package Version
Requires php Version ^7.3|^8.0
guzzlehttp/guzzle Version ^7.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package chandachewe/airtelmomoapi contains the following files

Loading the files please wait ....