PHPackages                             tonykssa/tpp-sdk - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. tonykssa/tpp-sdk

ActiveLibrary[HTTP &amp; Networking](/categories/http)

tonykssa/tpp-sdk
================

TropiPay PHP SDK

1.0.0(4y ago)0592MITPHPPHP &gt;=5.3.0

Since Jan 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ameksike/tpp-php-sdk)[ Packagist](https://packagist.org/packages/tonykssa/tpp-sdk)[ Docs](https://tpp.stoplight.io/)[ RSS](/packages/tonykssa-tpp-sdk/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

TropiPay SDK PHP
================

[](#tropipay-sdk-php)

TropiPay [SDK](https://packagist.org/packages/tonykssa/tpp-sdk) for PHP.

Install
-------

[](#install)

- composer init
- composer require tonykssa/tpp-sdk

Example
-------

[](#example)

- Create demo.php file:

```
// loading library
require_once __DIR__.'/vendor/autoload.php';
use TppSdk\TropiPay as TropiPay;

// define credentials
$clientId = "5aca1638f7596bee9cb388e51d2ad58e";
$clientSecret = "4a0150d3cec2036b9f24ec53f52e7c19";

// define the environment to use (production, development, test, etc.)
$enviroment = "develop";

// instantiate the library
$srv = new TropiPay($clientId, $clientSecret, $enviroment);

// define the data of the payment link to create
$payload = array(
    "reference"=> "my-paylink-1",
    "concept"=> "Bicycle",
    "favorite"=> "true",
    "amount"=> 3000,
    "currency"=>"EUR",
    "description" => "Two wheels",
    "singleUse"=>"true",
    "reasonId"=>4,
    "expirationDays"=>1,
    "lang"=>"es",
    "urlSuccess"=>"https://webhook.site/680826a5-199e-4455-babc-f47b7f26ee7e",
    "urlFailed"=>"https://webhook.site/680826a5-199e-4455-babc-f47b7f26ee7e",
    "urlNotification"=>"https://webhook.site/680826a5-199e-4455-babc-f47b7f26ee7e",
    "serviceDate"=>"2021-08-20",
    "client"=> array(
        "name"=>"John",
        "lastName"=>"McClane",
        "address"=>"Ave. Guadí 232, Barcelona, Barcelona",
        "phone"=>"+34645553333",
        "email"=>"client@email.com",
        "countryId"=>1,
        "termsAndConditions"=>"true"
    ),
    "directPayment"=>"true"
);

// create payment link
$paylink = $srv->createPaylink($payload);
```

- php demo.php

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

1626d ago

### Community

Maintainers

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

---

Top Contributors

[![ameksike](https://avatars.githubusercontent.com/u/23054740?v=4)](https://github.com/ameksike "ameksike (7 commits)")

---

Tags

restTropiPay

### Embed Badge

![Health badge](/badges/tonykssa-tpp-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/tonykssa-tpp-sdk/health.svg)](https://phpackages.com/packages/tonykssa-tpp-sdk)
```

###  Alternatives

[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k144.5M608](/packages/zircote-swagger-php)[psr/link

Common interfaces for HTTP links

2.5k152.8M84](/packages/psr-link)[league/fractal

Handle the output of complex data structures ready for API output.

3.8k67.2M554](/packages/league-fractal)[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k75.9M343](/packages/friendsofsymfony-rest-bundle)[lexik/jwt-authentication-bundle

This bundle provides JWT authentication for your Symfony REST API

2.6k62.6M258](/packages/lexik-jwt-authentication-bundle)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.4k67.4M264](/packages/nelmio-api-doc-bundle)

PHPackages © 2026

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