PHPackages                             hiddeco/laravel-transip - 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. [Framework](/categories/framework)
4. /
5. hiddeco/laravel-transip

ActiveLibrary[Framework](/categories/framework)

hiddeco/laravel-transip
=======================

Laravel TransIP is a bridge for the TransIP SOAP client and Laravel 5.

v6.0(6y ago)94.4k11[1 PRs](https://github.com/hiddeco/laravel-transip/pulls)MITPHPCI failing

Since Aug 21Pushed 5y agoCompare

[ Source](https://github.com/hiddeco/laravel-transip)[ Packagist](https://packagist.org/packages/hiddeco/laravel-transip)[ RSS](/packages/hiddeco-laravel-transip/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (8)Versions (12)Used By (0)

Laravel TransIP
===============

[](#laravel-transip)

[![Build Status](https://camo.githubusercontent.com/9796ac4aca1f29b82dcaa67a5c7e540ebfd0d76e6b252bb18d7591b3f0dd4947/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6869646465636f2f6c61726176656c2d7472616e7369702f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/hiddeco/laravel-transip/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/b171d1468a76ab193d65987793726dc01cabfc78a2f3f7263a7612c1bbcd6836/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6869646465636f2f6c61726176656c2d7472616e7369702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/hiddeco/laravel-transip/?branch=master)[![MIT license](https://camo.githubusercontent.com/4661abfe916186acde514558e7f040833cb63ba7098401a51ce339cbb2b4cf9e/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](http://opensource.org/licenses/MIT)[![StyleCI](https://camo.githubusercontent.com/9da8dde325c1b9acc63effa46e3f55ad2c5404da50e3ae55ce208502cfe01c05/68747470733a2f2f7374796c6563692e696f2f7265706f732f34313035393430332f736869656c64)](https://styleci.io/repos/41059403)[![SensioLabsInsight](https://camo.githubusercontent.com/8d134a3cbe75f294ee41a6eccb5743645c16df6deb229565701af5bfe31b704b/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f30386663653439662d616534632d346338662d383636372d6264323937633762373038652f6d696e692e706e67)](https://insight.sensiolabs.com/projects/08fce49f-ae4c-4c8f-8667-bd297c7b708e)

Laravel TransIP provides a bridge between the [TransIP package](https://github.com/hiddeco/transip) and Laravel 5.\*.

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

[](#installation)

To use this package without running into trouble you will need PHP 5.5+ or HHVM 3.6+, and Composer.

1. Get the latest version of Laravel TransIP, add the following line to your composer.json file `"hiddeco/laravel-transip": "~5.3"`
2. Run `composer update` or `composer install`
3. Register the Laravel TransIP service provider in `config/app.php` by adding `'TransIP\Laravel\TransIPServiceProvider::class'` to the providers key
4. Add the `TransIP` facade to the aliases key: `'TransIP' => TransIP\Laravel\Facades\TransIP::class`

Configuration
-------------

[](#configuration)

To manage your TransIP connections run the `php artisan vendor:publish` command, this will create the `config/transip.php`file where you can modify and manage your client connections.

The following configuration options are available:

**Default Connection Name**

The TransIP connection name set here (`default`) is the default connection used for all API requests. However, you may use as many connections as you need using the manager class. The default setting is `'main'`.

**TransIP Connections**

This is the place to configure your TransIP connections (`connections`). A default configuration with possible options (except your API credentials) is already present and there is no limit to the amount of connections.

Each connection has 2 required fields (`username` and `private_key`) and 2 optional fields (`mode` and `endpoint`). It is worth mentioning the `mode` field only accepts `readonly` and `readwrite` as values.

Usage
-----

[](#usage)

### TransIP Manager

[](#transip-manager)

The `TransIPManager` is where the magic happens. Bounded to the ioc container as `transip` and accessible by using the `Facade\TransIP` facade. It uses parts of the [Laravel Manager](https://github.com/GrahamCampbell/Laravel-Manager)package to manage the TransIP client connections. For more information about the Manager you should check out the respective [docs](https://github.com/GrahamCampbell/Laravel-Manager#usage).

It is worth noting the connection returned will always be an instance of `\HiddeCo\TransIP\Client`. You can find more information about this instance and its methods in the [TransIP docs](https://github.com/hiddeco/transip/blob/master/doc/).

### TransIP Facade

[](#transip-facade)

The TransIP facade will pass static method calls to the `transip` object in the ioc container, which as stated before is the `TransIPManager` class.

### Examples

[](#examples)

The usage of this package is fairly simple. Add your TransIP API credentials to the `main` connection and the package will work without any further settings.

**Using the Facade**

```
use TransIP\Laravel\Facades\TransIP;

$domainNames = TransIP::domain()->getDomainNames();
// and you're done
```

**Using the TransIP Manager**

The `TransIPManager` returns an instance of `\HiddeCo\TransIP\Client` and will behave like it. If you want to call a specific connection, you can use the `connection` method:

```
use TransIP\Laravel\Facades\TransIP;

$domainNames = TransIP::connection('alternative')->domain()->getDomainNames();
```

Changing the default connection and further explanations:

```
use TransIP\Laravel\Facades\TransIP;

TransIP::connection('main')->domain()->getDomainNames();
TransIP::domain()->getDomainNames();
TransIP::connection()->domain()->getDomainNames();
// are all the same because

TransIP::getDefaultConnection();
// returns 'main' as set in the configuration file

TransIP::setDefaultConnection('alternative');
// the 'alternative' connection is now the default connection
```

**Dependency Injection**

Prefer the use of a dependency injection over facades? You can easily inject the manager:

```
use TransIP\Laravel\TransIPManager;

class Foo
{
	protected $transIP;

	public function __construct(TransIPManager $transIP)
	{
		$this->transIP;
	}

	public function bar()
	{
		$this->transIP->domain()->getDomainNames();
	}
}
```

License
-------

[](#license)

Laravel TransIP is licensed under [The MIT License (MIT)](https://github.com/hiddeco/laravel-transip/blob/master/LICENSE).

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~217 days

Total

11

Last Release

2288d ago

Major Versions

v0.1 → v5.22016-05-16

v5.6.2 → v6.02020-02-11

### Community

Maintainers

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

---

Top Contributors

[![hiddeco](https://avatars.githubusercontent.com/u/10063039?v=4)](https://github.com/hiddeco "hiddeco (16 commits)")[![petericebear](https://avatars.githubusercontent.com/u/339796?v=4)](https://github.com/petericebear "petericebear (14 commits)")[![RobertBoes](https://avatars.githubusercontent.com/u/2871897?v=4)](https://github.com/RobertBoes "RobertBoes (4 commits)")[![tomcoonen](https://avatars.githubusercontent.com/u/988013?v=4)](https://github.com/tomcoonen "tomcoonen (3 commits)")[![websmurf](https://avatars.githubusercontent.com/u/4027236?v=4)](https://github.com/websmurf "websmurf (2 commits)")[![ronaldvaneede](https://avatars.githubusercontent.com/u/105354?v=4)](https://github.com/ronaldvaneede "ronaldvaneede (1 commits)")

---

Tags

apiframeworklaravelsoapBridgetransip

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hiddeco-laravel-transip/health.svg)

```
[![Health](https://phpackages.com/badges/hiddeco-laravel-transip/health.svg)](https://phpackages.com/packages/hiddeco-laravel-transip)
```

###  Alternatives

[rebing/graphql-laravel

Laravel wrapper for PHP GraphQL

2.2k7.1M26](/packages/rebing-graphql-laravel)[graham-campbell/markdown

Markdown Is A CommonMark Wrapper For Laravel

1.3k7.1M64](/packages/graham-campbell-markdown)[graham-campbell/github

GitHub Is A GitHub Bridge For Laravel

6411.7M19](/packages/graham-campbell-github)[graham-campbell/manager

Manager Provides Some Manager Functionality For Laravel

39221.1M134](/packages/graham-campbell-manager)[graham-campbell/digitalocean

DigitalOcean Is A DigitalOcean Bridge For Laravel

509343.1k2](/packages/graham-campbell-digitalocean)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)

PHPackages © 2026

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