Download the PHP package gituyu/jenga without Composer

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

Installtion
composer require gituyu/jenga On Laravel, do publish package files. php artsan vendor:publish Select Provider: Finserve\Jenga\JengaServiceProvider or Tag: jenga-config

Usage
In laravel controller use helper jengaCheckout($amount, $orderReference, $callbackurl, $custName = 'Client', $title = 'Pay Via EazzyPay',$is_sandbox = true, $website = 'NA', $extraData = 'NA', $currency = "KES", $outletCode = "0000000000")* As used in example below,the output is a HTML string which should be injected on the checkout page. The visible part is a Payment Button that redirect to EazzyPayment Checkout Portal.After the client completes payment they are redirected back and a callback is triggered on payment update.

$payment_button= \App\Helpers\jengaCheckout(22,'dff','https://webhook.site/0a75a3f0-b545-4ce3-8c1f-926e7bded3df','John Doe','Pay now',true);

Configuration
Once you publish package files, a configuration in config/jenga.php is created. Alternatively: At your project root, create a .env file set these configs:

JENGA_USERNAME=[username]
JENGA_PASSWORD=[password]
JENGA_API_KEY=[api_key]
JENGA_PRIVATE_KEY=[/relative/path/to/private.pem]
JENGA_BASE_ENDPOINT=https://uat.jengahq.io

NB: The package is autodiscovered by laravel: For Laravel older version (less than 5.5) users. open the Config/App.php file and add \Finserve\Jenga\JengaServiceProvider::class under providers and 'Jenga'=> \Finserve\Jenga\JengaServiceProvider::class under aliases.

Forex
It supports optional paramenters. Supported service are: currencyconverterapi.com . API (https://free.currconv.com/api/) Limits to 100Req/min updates are quotes upto 45min.

getForex($baseCurrency = 'KES', $foreignCurrency = 'USD', $exchangeService = '1', $apiKey = '') Example: $forex=(new \Finserve\Jenga\Forex())->getForex('USD','KES'); Callback
Usage: Route::get('/callback/route/here', function () { $data=\Finserve\Jenga\Callback(); //Do something }); Formated to as below:


All versions of jenga with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1
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 gituyu/jenga contains the following files

Loading the files please wait ....