PHPackages                             berthott/laravel-tableau-direct-trust-token - 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. berthott/laravel-tableau-direct-trust-token

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

berthott/laravel-tableau-direct-trust-token
===========================================

A Laravel Tableau Direct Trust Token generator

3.0.1(1y ago)027MITPHP

Since Dec 10Pushed 1y ago1 watchersCompare

[ Source](https://github.com/berthott/laravel-tableau-direct-trust-token)[ Packagist](https://packagist.org/packages/berthott/laravel-tableau-direct-trust-token)[ RSS](/packages/berthott-laravel-tableau-direct-trust-token/feed)WikiDiscussions master Synced 1mo ago

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

[![test workflow](https://github.com/berthott/laravel-tableau-direct-trust-token/actions/workflows/test.yml/badge.svg)](https://github.com/berthott/laravel-tableau-direct-trust-token/actions/workflows/test.yml/badge.svg)

Laravel-Tableau-Direct-Trust-Token
==================================

[](#laravel-tableau-direct-trust-token)

Create an API Token for a Tableau Cloud Direct Trust integration.

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

[](#requirements)

For a Direct Trust connection to Tableau Cloud it is necessary to [configure Direct Trust within Tableau](https://help.tableau.com/current/online/en-us/connected_apps_direct.htm).

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

[](#installation)

```
$ composer require berthott/laravel-tableau-direct-trust-token
```

Usage
-----

[](#usage)

This package registers a `tableau\token` POST route that can be used to obtain a token, that can be used to connect to Tableau Cloud via Direct Trust. To generate the correct token you need to provide the [Config Information](#options) and an optional `user` body parameter to alter the desired username with witch you want to authenticate with Tableau.

Options
-------

[](#options)

To provide the config options use

```
$ php artisan vendor:publish --provider="berthott\Tableau\TableauDirectTrustTokenProvider" --tag="config"

```

- `defaultUser`: the default username with witch you want to authenticate with Tableau. Defaults to `env('TABLEAU_DEFAULT_USER')`
- `secret`: the Tableau secret. Defaults to `env('TABLEAU_SECRET')`
- `secretId`: the Tableau secretId. Defaults to `env('TABLEAU_SECRET_ID')`
- `clientId`: the Tableau clientId. Defaults to `env('TABLEAU_CLIENT_ID')`
- `prefix`: Defines the route prefix. Defaults to `api`.
- `middleware`: An array of all middlewares to be applied to all of the generated routes. Defaults to `[]`.

Compatibility
-------------

[](#compatibility)

Tested with Laravel 10.x.

License
-------

[](#license)

See [License File](license.md). Copyright © 2024 Jan Bladt.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance40

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

Total

2

Last Release

512d ago

### Community

Maintainers

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

---

Top Contributors

[![berthott](https://avatars.githubusercontent.com/u/3034025?v=4)](https://github.com/berthott "berthott (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/berthott-laravel-tableau-direct-trust-token/health.svg)

```
[![Health](https://phpackages.com/badges/berthott-laravel-tableau-direct-trust-token/health.svg)](https://phpackages.com/packages/berthott-laravel-tableau-direct-trust-token)
```

###  Alternatives

[pocketmine/pocketmine-mp

A server software for Minecraft: Bedrock Edition written in PHP

3.5k74.6k86](/packages/pocketmine-pocketmine-mp)[firefly-iii/data-importer

Firefly III Data Import Tool.

7545.8k](/packages/firefly-iii-data-importer)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[getdkan/dkan

DKAN Open Data Catalog

385135.4k2](/packages/getdkan-dkan)[exinone/mixin-sdk-php

Mixin-Network SDK for PHP, modify from ExinOne/laravel-mixin-sdk

242.5k4](/packages/exinone-mixin-sdk-php)

PHPackages © 2026

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