Download the PHP package mediumart/momo without Composer

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

Mediumart momo

Build Status

Phpstan

License

An MTN Mobile Money php client.

Requirements

PHP >=8.0

Installation

You can install via Composer. Run the following command:

Sandbox

The client env configuration default to live. If you want to practice in the sandbox environment before going live, you probably want to enable it before resolving any client instance.

Alternatively, you can also configure a specific service instance to run in the sandbox by providing a 'sandbox' argument upon getting the instance.

Connect to your Momo developer Dashboard, subscribe to a product : collection, disbursement, or remittance. Go to your profile and grab the corresponding subscription key (should be primary key or secondary key). Then create a new sandbox user for your subscription key.

This will get you a fresh Mediumart\ModileMoney\User instance, a value object with 3 properties (all lowercase):

Use them to get a new access token for the corresponding service (collection, disbursement, or remittance).

The same Mediumart\ModileMoney\User class can be used to store similar values in your live environment.

Usage

Mtn Mobile Money API supported services are: collection, disbursement, and remittance. Resolve services clients instances using the MobileMoney facade.

Then this is the list of methods you 'll have access to :

shared Api (collection, disbursement, and remittance)

transferApi (disbursement, remittance)

collection

disbursement

remittance

For now, to know which parameters are required for each method, please look at the code . A complete API docs may be released soon.

License

Mediumart momo is an open-sourced software licensed under the MIT license.


All versions of momo with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
guzzlehttp/guzzle Version ^7.4
ramsey/uuid Version ^4.2
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 mediumart/momo contains the following files

Loading the files please wait ....