PHPackages                             faiznurullah/lib-tokopay-unofficial - 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. [Payment Processing](/categories/payments)
4. /
5. faiznurullah/lib-tokopay-unofficial

ActivePackage[Payment Processing](/categories/payments)

faiznurullah/lib-tokopay-unofficial
===================================

Package for connectionn with tokopay payment gateway

10[1 issues](https://github.com/Faiznurullah/tokopay/issues)PHP

Since Apr 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Faiznurullah/tokopay)[ Packagist](https://packagist.org/packages/faiznurullah/lib-tokopay-unofficial)[ RSS](/packages/faiznurullah-lib-tokopay-unofficial/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Tokopay package unofficial
==========================

[](#tokopay-package-unofficial)

this package is unofficial Tokopay written in PHP.

Documentation
-------------

[](#documentation)

For Documentation please check [Api Tokpay Documentation](https://docs.tokopay.id).

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

[](#installation)

Install this package with composer by following command:

```
composer require faiznurullah/lib-tokopay-unofficial

```

or add manually in your `Composer.json ` file.

Usage
-----

[](#usage)

### Laravel

[](#laravel)

on file .env you can add this configuration:

```
TOKOPAY_MERCHANT_ID = "TOKOPAY_MERCHANT_ID";
TOKOPAY_SECRET_KEY = "TOKOPAY_SECRET_KEY";
TOKOPAY_REF_ID = "TOKOPAY_REF_ID";

```

on file `config/app.php` you can add this configuration

```
'providers' => [
    Faiznurullah\Tokopay\TokopayServiceProvider::class,
],

```

### Native

[](#native)

Initialize some required credentials. You can get credentials on your Tokopay account dashboard.

```
