alagaccia/laravel-tnt

TNT SOAP client for Laravel Projects

Maintainers

Package info

github.com/alagaccia/laravel-tnt

pkg:composer/alagaccia/laravel-tnt

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.1 2026-05-05 11:07 UTC

This package is auto-updated.

Last update: 2026-05-05 11:08:06 UTC


README

Table of Contents

Installing and configuring

Installing the package

You need to use Composer to install this package into your Laravel project:

composer require alagaccia/laravel-tnt

Load Service Provider

From Laravel 5.5 and newer the package wil register itself using Laravel's Auto Discovery.

Laravel 5.4 and older needs to include TntServiceProvider in your config/app.php:

'providers' => [
    /*
     * Package Service Providers...
     */
    AndreaLagaccia\TntServiceProvider::class,
]

Publishing the configuration file

Run the following Artisan command in your terminal to copy the environment variables:

php artisan vendor:publish --provider="AndreaLagaccia\Tnt\TntServiceProvider"

Choose the preference and press ENTER

Provider: AndreaLagaccia\Tnt\TntServiceProvider

Now you have a config/tnt.php config file, where you can set the API_KEY and your favorite LIST_ID. You can also write your Sendinblue variables in the .env file as follow:

TNT_CUSTOMER=
TNT_USER=
TNT_PASSWORD=
TNT_SENDER_ACC_ID=

Usage