PHPackages                             robinsaillard/tnt-express - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. robinsaillard/tnt-express

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

robinsaillard/tnt-express
=========================

TNT Express

1.0.14(2y ago)2235MITPHPPHP &gt;=7.0

Since Nov 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/robinsaillard/TntExpress)[ Packagist](https://packagist.org/packages/robinsaillard/tnt-express)[ Docs](https://github.com/robinsaillard/TntExpress)[ RSS](/packages/robinsaillard-tnt-express/feed)WikiDiscussions main Synced yesterday

READMEChangelog (10)Dependencies (5)Versions (16)Used By (0)

TntExpress v1.0.13
==================

[](#tntexpress-v1013)

Création d'étiquette tnt à l'international via le webservice ()

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

[](#installation)

`composer install robinsaillard/tnt-express`

Add bundle symfony
------------------

[](#add-bundle-symfony)

`RS\TntExpress\TntExpressBundle::class => ['all' => true]`

Installation ressource
----------------------

[](#installation-ressource)

`php bin/console assets:install`

Création étiquette en html
--------------------------

[](#création-étiquette-en-html)

```
use RS\TntExpress\TntExpressInfo;
use RS\TntExpress\Services\ShipRequest;

$tnt = new TntExpressInfo("IdUser","password");

$tnt->setConsignementIdentity(string $customerReference, string $consignmentNumber = null)
    ->setCollectionDateTime(DateTime $collectionDateTime)

    ->setSender(string $name, string $addressLine1, string $addressLine2 = null, string $addressLine3 = null,
                string $town, string $exactMatch = null, string $province = null, string $postcode = null ,
                string $country, string $contactName, string $dialCode, string $telephone, string $mail)

    ->setDelivery(string $name, string $addressLine1, string $addressLine2 = null, string $addressLine3 = null,
                string $town, string $exactMatch = null, string $province = null, string $postcode = null ,
                string $country, string $contactName, string $dialCode, string $telephone, string $mail)

    ->setProduct(string $lineOfBusiness, string $groupId, string $subGroupId, string $type , string $id,
                 string $service, string $option = null)

    ->setAccount(string $accountNumber, string $accountCountry, string $contactName, string $dialCode,
                 string $mail, string $telephone)

    ->setOptionalElements(string $bulkShipment = null , string $specialInstructions = null , string $cashAmount = null,
                          string $cashCurrency = null , string $cashType = null , string $customControlled= null,
                          string $termsOfPayment = null)

    ->setPackage(int $itemNumber, float $poids, float $longueur, float $largeur, float $hauteur, string $description);

//$val = ["CREATE", "BOOK", "SHIP","PRINT"]
$xml = new ShipRequest($tnt, $val);

$html = $xml->getShippingRequest();

echo $html;
```

Vérification code postal ou ville
---------------------------------

[](#vérification-code-postal-ou-ville)

```
use RS\TntExpress\TntExpressInfo;
use RS\TntExpress\Services\TownPostRequest;

$tnt = new TntExpressInfo("IdUser","password");
$request = new TownPostRequest($tnt);
$result = $request->getTownPostRequest($pays = "FR", $ville,  $postcode);

//output :
$result : array(
    array(
        "searchItem" => 1,
        "postcode" => "NNNNN",
        "ville" => "xxxxxxxxx"
    ),
    [],
);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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 ~60 days

Recently: every ~183 days

Total

15

Last Release

788d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fb2c580ac6235d89c766047a0369a99d792a81c0ce08a58bcd93a18cd728887?d=identicon)[robinsaillard](/maintainers/robinsaillard)

---

Top Contributors

[![robinsaillard](https://avatars.githubusercontent.com/u/44037580?v=4)](https://github.com/robinsaillard "robinsaillard (120 commits)")

---

Tags

tnttnt trackingtnt shippingtnt express

### Embed Badge

![Health badge](/badges/robinsaillard-tnt-express/health.svg)

```
[![Health](https://phpackages.com/badges/robinsaillard-tnt-express/health.svg)](https://phpackages.com/packages/robinsaillard-tnt-express)
```

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M566](/packages/symfony-maker-bundle)[pentatrion/vite-bundle

Vite integration for your Symfony app

2725.3M13](/packages/pentatrion-vite-bundle)[wallabag/wallabag

open source self hostable read-it-later web application

12.6k2.2k](/packages/wallabag-wallabag)[netgen/layouts-core

Netgen Layouts enables you to build and manage complex web pages in a simpler way and with less coding. This is the core of Netgen Layouts, its heart and soul.

3689.4k10](/packages/netgen-layouts-core)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)

PHPackages © 2026

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