PHPackages                             gentor/fibank - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. gentor/fibank

ActiveLibrary[API Development](/categories/api)

gentor/fibank
=============

Fibank Ecomm Service for Laravel

36.3k1PHP

Since Nov 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/gentor/fibank)[ Packagist](https://packagist.org/packages/gentor/fibank)[ RSS](/packages/gentor-fibank/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Fibank
======

[](#fibank)

Fibank Ecomm Service for Laravel

Installation
------------

[](#installation)

Installation using composer:

```
composer require gentor/fibank

```

Add the service provider in `config/app.php`:

```
Gentor\Fibank\ServiceProvider::class,
```

Add the facade alias in `config/app.php`:

```
Gentor\Fibank\Facade\Fibank::class,
```

Configuration
-------------

[](#configuration)

Convert .jks certificate to .pem:

```
$cmd = "keytool -importkeystore -srckeystore " . escapeshellarg($file_path) . " -destkeystore " . escapeshellarg($p12file) . " -srcstoretype JKS -deststoretype PKCS12 -srcstorepass {$password} -deststorepass {$password} -noprompt";
$cmd = "openssl pkcs12 -in " . escapeshellarg($p12file) . " -out " . escapeshellarg($pemfile) . " -passin pass:{$password} -passout pass:{$password}";
```

Change your default settings in `app/config/fibank.php`:

```
