Download the PHP package ben/banker_php without Composer

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

ben-banker_php

A PHP package that help payment integration using flutterwave's Rave API

Get Started

to get started with banker_php, Start by creating a flutterwave accout. Click here to create an account

install package

install bankw=er_php via composer. run on your terminal composer require ben/banker_php

API keys

API keys to access the flutterwave rave API can be gotten at the flutter wave's dashboard. After Signing in to ypiu account, go to settings->API read more

.env

API keys should be stored be stored in the a .env file in the src directory.

Card bin verification

to Get card bin via banker_php require autoload require('vendor/autoload.php') use Cardify\slamify;

then call for the function new Slamify getCardbin(<bin>) and pass in the argument of the card bin

BVN verification

to verify BVN via banker_php require autoload require('vendor/autoload.php') use Cardify\slamify;

then call for the function new Slamify get_bvn(<bvn>) and pass BVN as the argument

Note: this will require a charge of N50

Get all banks

to Get card bin via banker_php require autoload require('vendor/autoload.php') use Cardify\slamify;

then call for the function new Slamify getBanks(<country_code>) and pass in the country code as an argument e.g NG for Nigeria. it's set to NG b default.

Account verification

to Get card bin via banker_php require autoload require('vendor/autoload.php') use Cardify\slamify;

then call for the function new Slamify getAccount(<accout_no>, <bank>) and pass in the account number as the first argument, and the bank code or the bank name as the secound argument

Card payments

to Get card bin via banker_php require autoload require('vendor/autoload.php') use Cardify\Payment;

then call for the function new Payment cardPaymet(<payment details>) and pass in the payment details as an argument

Post OTP

to Get card bin via banker_php require autoload require('vendor/autoload.php') use Cardify\Payment;

then call for the function new Payment postOTP(<otp>) and pass in the otp as an argument


All versions of banker_php with dependencies

PHP Build Version
Package Version
Requires vlucas/phpdotenv Version ^5.0@dev
phpunit/phpunit Version ^7.5
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 ben/banker_php contains the following files

Loading the files please wait ....