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

ActiveLibrary

muhannadalhariri/gosell
=======================

016PHP

Since Jan 4Pushed 3y agoCompare

[ Source](https://github.com/muhannadalhariri/gosell-sdk-php)[ Packagist](https://packagist.org/packages/muhannadalhariri/gosell)[ RSS](/packages/muhannadalhariri-gosell/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![PHP from Packagist (specify version)](https://camo.githubusercontent.com/caa82e037c0e1bbdab3ef50968af65bf5596524fdc9ef62073762db45fdbac78/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d7568616e6e6164616c6861726972692f676f73656c6c)](https://camo.githubusercontent.com/caa82e037c0e1bbdab3ef50968af65bf5596524fdc9ef62073762db45fdbac78/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d7568616e6e6164616c6861726972692f676f73656c6c)[![Latest Stable Version](https://camo.githubusercontent.com/045b78b500e88f855605fda33055a0b55cfe8b3cfb483d065df7a6e5ed16fd2c/68747470733a2f2f706f7365722e707567782e6f72672f6d7568616e6e6164616c6861726972692f676f73656c6c2f762f737461626c65)](https://packagist.org/packages/muhannadalhariri/gosell)[![Build Status](https://camo.githubusercontent.com/cdeb8e884c41caba299de7c56341fe9c5d87782abe9f8249e5cc86ac03d4a4ca/68747470733a2f2f7472617669732d63692e636f6d2f6d7568616e6e6164616c6861726972692f676f73656c6c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/muhannadalhariri/gosell)[![Total Downloads](https://camo.githubusercontent.com/721da4f545490487d3be38c96b8211fa5fcd1c713734fee5ead898b92c473bde/68747470733a2f2f706f7365722e707567782e6f72672f6d7568616e6e6164616c6861726972692f676f73656c6c2f646f776e6c6f616473)](https://packagist.org/packages/muhannadalhariri/gosell)[![License](https://camo.githubusercontent.com/f756b596a4dabde0bb3de2279f8d76f8308527175960b33a54607afa1ffb3b01/68747470733a2f2f706f7365722e707567782e6f72672f6d7568616e6e6164616c6861726972692f676f73656c6c2f6c6963656e7365)](https://packagist.org/packages/muhannadalhariri/gosell)[![Coverage Status](https://camo.githubusercontent.com/40d82c56f334ca098a649128d1afeb38cca99ab93527b149cb45235c66df7d61/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d7568616e6e6164616c6861726972692f676f73656c6c2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/muhannadalhariri/gosell?branch=master)

\#Notice This is a fork of original TapPayment GoSell Contains updated php versiont o 8.0+ and updated library. The reason behind this fork is to update dependencies

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 8.0 and later.

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

[](#installation)

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

`composer require muhannadalhariri/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

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 87% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d35b6c8a4053bfa25c637e4e7d3cbd732dcf57e5552c4b3049defeba59c4d57c?d=identicon)[muhacit](/maintainers/muhacit)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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