Download the PHP package batons0/yopaymentsphp without Composer

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

Yo! Payments API PHP Library

Yo! Payments is a revolutionary mobile payments gateway service. Yo! Payments enables businesses to receive payments from their customers via mobile money, as well as make mobile money payments to any mobile money account holder. Yo! Payments also has the capability to send mobile calling credit (“airtime”) directly to users.

Yo! Payments API PHP Library is a PHP library that can be included in your PHP project to enable seamless integration with websites and web systems.

Getting Started

Prerequisites

To use the API, you must, first of all, have a Yo! Payments Business Account. The API is not available for Personal Accounts

Installing

Yo! Payments API PHP Library is available via Composer/Packagist (using semantic versioning), so just add this line to your file

or

Then inside your PHP script, add the line

And voila! The Yo! Payments PHP API is now available for use.

Alternatively, copy the contents of the YoPaymentsPHP folder into one of the directories specified in your PHP configuration.

If you don't use git, click the 'zip' button at the top of the page in GitHub.

Minimal Installation

While installing the entire package manually or with composer is simple, convenient and reliable, you may want to include only vital files in your project. At the very least you'll need Yo_Uganda_Public_Certificate.crt.

You can then load the library by just and everything should work.

A Simple Example

Start the Mobile Money User to Prompt for PIN to transfer funds

Receive payment notification when payment completed.

Receive notification when payment has failed.

You'll find plenty more to play with in the examples folder.

That's it! You should now be ready to use YoAPI

Built With

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments


All versions of yopaymentsphp with dependencies

PHP Build Version
Package Version
Requires php Version ^5.3.3 || ^7.0 || ^8.0
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 batons0/yopaymentsphp contains the following files

Loading the files please wait ....