Download the PHP package escarter/openapimomo without Composer

On this page you can find all versions of the php package escarter/openapimomo. 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 openapimomo

OpenapiMoMo Documentation

This is a laravel package that helps you easily use the MTN OpenAPI in your laravel project. This package simplifies the integration of this API by providing simple methods which you can use when calling the different endpoints provided by this API. This package contains a configuration file that helps you easily manage your settings in a single location and permits you to swap between environments with a single value change.

How to install?

You can install this package to your laravel application using composer as below

After installation is complete, you will have to publish the configuration file by running the command below

This will move the openapimomo.php configuration file to your config folder. Open this file and update as required.

Before you start using this package, you need to update the configuration file appropriately.

General configuration
Collection API configuration

This section contains configurations for the collection API. Ensure to replace the keys with their appropriate values

The other parts of the collection section stays untouched, only the section shown above should be updated. Same goes for the Disbursement and Remittance sections in the configuration file.

Disbursement API configuration

This section contains configurations for the disburement API. Ensure to replace the keys with their appropriate values

The Remittance section is similar, so will leave it out from the documentation.

Note:

How to use this package ?

Below are sample codes showing how you can use this package.

1. sample requesttopay and get transaction status (Collection API)

Once all your configurations are done, you can peform a requesttopay using the get transaction status method to check the transaction as show below. Ensure that you have a correct collection

properly set in the config file

2. Check Collection account balance (Collection API)

The sample code below shows you how to get your collection account balance.

3. Sample transfer request (Disbursement API)

Before you can perform a transfer request, you should ensure that you have properly updated the disbursement section in the openapimomo.php configuration file with the correct

4. Check Disbursement account balance (Disbursement API)

The sample code below shows you how to get your disburement account balance.

Thanks.


All versions of openapimomo with dependencies

PHP Build Version
Package Version
No informations.
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 escarter/openapimomo contains the following files

Loading the files please wait ....