Download the PHP package zgabievi/e-money without Composer

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

laravel-emoney

Some great updates are comming soon...

Latest Stable Version Total Downloads License

eMoney
eMoney eMoney payment system integration for Laravel 5.* :sunglasses: Trying to make it perfect, easy to use and awesome package :tada: Pull requests are welcome.

Table of Contents

Installation

Composer

Run composer command in your terminal.

composer require zgabievi/e-money

Laravel

Open config/app.php and find the providers key. Add eMoneyServiceProvider to the array.

Find the aliases key and add Facade to the array.

Usage

There is main method with will call method by first parameter. And it will return the result of the request:

eMoney::GetResult($method, ...$args);

Example:

Outputs:

Behind the scene it does something like this:


This is the list of all methods:

Example

Outputs:

Codes

Key Value Description
1 Success OK
11 Unknown Unknown error
12 InvalidHash Invalid hash
13 InvalidParameters Some of the input parameters are invalid
14 InvalidDistributor Invalid distributor name
16 ServicesProviderNotFound Service provider not found
17 AbonentNotFound Abonent not found
19 ParameterNotFound Parameter not found
20 ParameterValueNotFound Parameter value not found
30 Error General error
31 ServiceNotFound Service not found
34 ServiceInternalError Service internal error
40 WrongAmount Wrong amount
41 ServiceTimeout Operation timeout
42 PaymentWontBeAccepted Payment wont be accepted. Your company has not enough balance in eMoney
43 AccountOperationDenied Account operation denied
44 AmountLessThanMin Amount is less than acceptable minumum
45 AmountMoreThanMax Amount is more than acceptable maximum
46 TransactionLimitExceeded Transaction limit exceeded

Config

Publish eMoney config file using command:

Created file config\eMoney.php. Inside you can change configuration as you wish.

License

laravel-emoney is licensed under a MIT License.

TODO


All versions of e-money with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version ~5.1
php Version >=5.3.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 zgabievi/e-money contains the following files

Loading the files please wait ....