PHPackages                             tappayments/gosell - 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. tappayments/gosell

AbandonedArchivedLibrary

tappayments/gosell
==================

v0.2(6y ago)102.6k17[2 PRs](https://github.com/Tap-Payments/gosell-sdk-php/pulls)MITPHPPHP &gt;=5.6.0

Since Feb 13Pushed 3y ago3 watchersCompare

[ Source](https://github.com/Tap-Payments/gosell-sdk-php)[ Packagist](https://packagist.org/packages/tappayments/gosell)[ RSS](/packages/tappayments-gosell/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (5)Used By (0)

[![PHP from Packagist (specify version)](https://camo.githubusercontent.com/7d1d505e8b56ee70314fcd709d68cf7fd3c0c6caa12010902e7559cad5b37d0f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7461707061796d656e74732f676f73656c6c)](https://camo.githubusercontent.com/7d1d505e8b56ee70314fcd709d68cf7fd3c0c6caa12010902e7559cad5b37d0f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7461707061796d656e74732f676f73656c6c)[![Latest Stable Version](https://camo.githubusercontent.com/6fa519bf113c2b31a96fdaa0e1b84eb3e8975446bcf563cb46f63132714ed2fd/68747470733a2f2f706f7365722e707567782e6f72672f7461707061796d656e74732f676f73656c6c2f762f737461626c65)](https://packagist.org/packages/tappayments/gosell)[![Build Status](https://camo.githubusercontent.com/c38edad69a7a7fb29b1a436fabbb42e41badd2b5bb904f526c53ce5512603d6b/68747470733a2f2f7472617669732d63692e636f6d2f7461707061796d656e74732f676f73656c6c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/tappayments/gosell)[![Total Downloads](https://camo.githubusercontent.com/3d719702a3b57767b4ce90e1435d4336c221a72df63b8390792b3316cce9bb6b/68747470733a2f2f706f7365722e707567782e6f72672f7461707061796d656e74732f676f73656c6c2f646f776e6c6f616473)](https://packagist.org/packages/tappayments/gosell)[![License](https://camo.githubusercontent.com/16c99cde16bb9e2be6d9d4a07085a1b32492422b69f03ec6511e9e88871149a2/68747470733a2f2f706f7365722e707567782e6f72672f7461707061796d656e74732f676f73656c6c2f6c6963656e7365)](https://packagist.org/packages/tappayments/gosell)[![Coverage Status](https://camo.githubusercontent.com/e42da6fc3a4653e40567a820a5acef937d3ce60722d0233044fa65fb98f2761e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7461707061796d656e74732f676f73656c6c2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/tappayments/gosell?branch=master)

GoSell PHP SDK
==============

[](#gosell-php-sdk)

Official bindings to GoSell API.

**Note: Detailed REST API request and response schema can be found at [API Documentation](https://tap.company/developers)**

Requirements
------------

[](#requirements)

This library supports PHP 5.6 and later.

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

[](#installation)

The recommended way to install GoSell PHP SDK is through [Composer](https://getcomposer.org):

`composer require tappayments/gosell`

To use the bindings, use Composer's [autoload](https://getcomposer.org/doc/01-basic-usage.md#autoloading):

`require_once('vendor/autoload.php');`

Manual Installation
-------------------

[](#manual-installation)

If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the vendor.php file.

`require_once('/pathto/Tap-Payments/gosell-sdk-php/vendor/autoload.php');`

Getting Started
---------------

[](#getting-started)

```
use TapPayments\GoSell;

//set yout secret key here
GoSell::setPrivateKey("sk_test_XKokBfNWv6FIYuTMg5sLPjhJ");

$charge = GoSell\Charges::create(
	[
      "amount"=> 1,
      "currency"=> "KWD",
      "threeDSecure"=> true,
      "save_card"=> false,
      "description"=> "Test Description",
      "statement_descriptor"=> "Sample",
      "metadata"=> [
        "udf1"=> "test 1",
        "udf2"=> "test 2"
      ],
      "reference"=> [
        "transaction"=> "txn_0001",
        "order"=> "ord_0001"
      ],
      "receipt"=> [
        "email"=> false,
        "sms"=> true
      ],
      "customer"=> [
        "first_name"=> "test",
        "middle_name"=> "test",
        "last_name"=> "test",
        "email"=> "test@test.com",
        "phone"=> [
          "country_code"=> "965",
          "number"=> "50000000"
        ]
      ],
      "source"=> [
        "id"=> "src_all"
      ],
      "post"=> [
        "url"=> "http://your_website.com/post_url"
      ],
      "redirect"=> [
        "url"=> "http://your_website.com/redirect_url"
      ]
    ]
);

echo '';
var_dump($charge); //will give charge response as PHP object

```

Code samples
------------

[](#code-samples)

- [ Customers ](./examples/customersExample.php)
- [ Charges ](./examples/chargesExample.php)
- [ Authorize ](./examples/authorizeExample.php)
- [ Refunds ](./examples/refundsExample.php)

More Help
---------

[](#more-help)

- [API Documentation](https://tap.company/developers)
- [Charges](https://github.com/Tap-Payments/gosell-sdk-php/wiki/Charges)
- [Authorize](https://github.com/Tap-Payments/gosell-sdk-php/wiki/Authorize)
- [Customers](https://github.com/Tap-Payments/gosell-sdk-php/wiki/Customers)
- [Refunds](https://github.com/Tap-Payments/gosell-sdk-php/wiki/Refunds)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~55 days

Total

2

Last Release

2222d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/57520b8378cf88b1e291ffa15f50eaf6cc17860905a130fc63996ee9978242da?d=identicon)[w.tanoli](/maintainers/w.tanoli)

---

Top Contributors

[![waqastanoli10](https://avatars.githubusercontent.com/u/35137750?v=4)](https://github.com/waqastanoli10 "waqastanoli10 (20 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/tappayments-gosell/health.svg)

```
[![Health](https://phpackages.com/badges/tappayments-gosell/health.svg)](https://phpackages.com/packages/tappayments-gosell)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
