Download the PHP package ovac/laravel-hubtel-payment without Composer

On this page you can find all versions of the php package ovac/laravel-hubtel-payment. 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 laravel-hubtel-payment



Laravel Hubtel Payment

A Laravel 5.5 integration for the OVAC Hubtel Payment package.

Build Status Scrutinizer Code Quality Coverage Status Latest Stable Version Packagist Packagist Dependency Status

SensioLabsInsight

Introduction.

Laravel Hubtel Payment is a Laravel 5.5 seamless integration of the OVAC Hubtel Payment php client for consuming the Hubtel Payment API and processing mobile-money transactions in a Laravel application.

With this package, it is easy to process mobile money transactions and automate Mobile Money payment from and to any mobile money subscriber in Ghana from any laravel controller.

Installation

This packages utilize Composer, for more information on how to install Composer please read the Composer Documentation.

Install via composer

Register Service Provider

Note! This and next step are optional if you use laravel>=5.5 with package auto discovery feature.

Add service provider to config/app.php in providers section

Register Facade

Register package facade in config/app.php in aliases section

Publish Configuration File

Edit .env

Add these lines in the application .env and use your Hubtel Merchant Account Number, ClentID, ClientSecret and callback as shown below.

Don't know what this is? checkout this documentation

Basic Usage

This library exposes a handfull of facade that seamlessly interfaces with the hubtel-payment php client main classes for basic usage in order to make local configuration optional.

Note: For advance usage, please refer to the OVAC Hubtel Payment documentation, located here.

Just use the Laravel facade alias HubtelPayment:: instead of the native calls.

Enjoy :)

The ReceiveMoney facade may be used to send a prompt to the customer's phone to receive money like a mobile-money agent as follows:

The SendMoney facade may also be used to send money to any mobile money customer as follows:

The Refund Facade may also refund money a customer paid in a previous transaction:

Contributing

Thank you for considering contributing to Laravel Hackathon Starter. The contribution guide can be found in the Contribution File

Security

If you discover any security related issues, please email instead of using the issue tracker.

Credits

Reference

How can I thank you?

Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!

Don't forget to follow me on instagram and twitter

Thanks! Ariama Victor (ovac4u).


All versions of laravel-hubtel-payment with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
illuminate/support Version ^5.4
ovac/hubtel-payment Version ~2.0.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 ovac/laravel-hubtel-payment contains the following files

Loading the files please wait ....