PHPackages                             tda/laravel-netcup - 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. tda/laravel-netcup

ActiveLibrary

tda/laravel-netcup
==================

Netcup integration for laravel 8

v0.2.1(2y ago)091MITPHPPHP ^8.0

Since Jun 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/thedigitalarchitects/laravel-netcup)[ Packagist](https://packagist.org/packages/tda/laravel-netcup)[ RSS](/packages/tda-laravel-netcup/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (4)Used By (0)

laravel-netcup
==============

[](#laravel-netcup)

Netcup API for Laravel Based on:

Requirements • PHP &gt;= 8.1

• Composer

• Laravel &gt;= 8.0

Installation

```
composer require tda/laravel-netcup
```

Usage
-----

[](#usage)

Inside Laravel:

```
use Tda\LaravelNetcup\Netcup;
$clientRequestId = 'your_id'; //optional
$client = new Netcup($clientRequestId);
```

originally the keys are read from config in 'services.netcup' as:

```
('services.netcup.api_key'),
('services.netcup.api_password'),
('services.netcup.customer_number')
```

It is possible to set different location, e.g.:

```
$netcup->setConfig('apis.netcup');
```

by standard it uses REST, but it can be changed to use SOAP

```
$netcup->useSoap();
```

Features
--------

[](#features)

### Domain

[](#domain)

List all domains

```
$domains = $netcup->listAllDomains(); //it return as Collection
```

Get info from a domain from Netcup

```
$domain = $netcup->infoDomain('mydomain.com');
```

Search for domain

```
$domain = $netcup->searchDomain('somedomain.com');
```

Get the Top level domain price

```
$price = $netcup->priceTopLevelDomain('de');
```

Get Auth code from domain name

```
$authcode = $netcup->getAuthCodeDomain('somedomain.com');
//or from a domain object
$domain = $netcup->infoDomain('mydomain.com');
$authcode = $netcup->getAuthCodeDomain($domain);
```

Create a domain

(under construction)

```
$contact = new Tda\LaravelNetcup\Contactentries;
$contact->ownerc = {Id of contact handle}; // obligatory
$contact->adminc = {Id of contact handle};
$contact->techc = {Id of contact handle};
$contact->zonec = {Id of contact handle};
$contact->billingc = {Id of contact handle};
$contact->onsitec = {Id of contact handle};
$contact->generalrequest = {Id of contact handle};
$contact->abusecontact = {Id of contact handle};

$domain = $netcup->createDomain('mydomain.com', $contact);
```

Update a domain

(under construction)

Cancel a domain

(under construction)

Transfer a domain

(under construction)

Change owner of a domain

(under construction)

### Handle

[](#handle)

List all handles from Netcup

```
$handles = $netcup->listAllHandle(); //it return as Collection
```

Get Handle info

```
$handle = $netcup->infoHandle($handle_id);
```

Create Handle

```
$newHandle = new \Tda\LaravelNetcup\NetcupHandle();
$newHandle->type = 'organisation';
$newHandle->name = 'Your Lame';
$newHandle->organisation = 'Your organisation name';
$newHandle->street = 'Street';
$newHandle->type = 'organisation'; //(person|organisation|role|request)
$newHandle->postalcode = "0000";
$newHandle->city = "City";
$newHandle->countrycode = "DE";
$newHandle->telephone = "telefone number";
$newHandle->email = "your@email.com";
$newHandle->assignedtodomain = true;

$response = $netcup->createHandle($newHandle);
```

Update Handle

```
$handle = $netcup->infoHandle($handle_id);
$hande->email = "new@email.com";
$response = $netcup->updateHandle($handle);
```

Delete Handle

```
$handle = $netcup->infoHandle($handle_id);
$response = $netcup->deleteHandle($handle);
```

### DNS

[](#dns)

#### Zones

[](#zones)

*accepts only domain registered on Netcup*

Get Zone DNS from a domain

```
$response = $netcup->infoDnsZone('somedomain.com');
//or from the Domain object
$domain = $netcup->infoDomain('mydomain.com');
$response = $netcup->infoDnsZone($domain);
```

updateDnsZone

(Under construction)

#### Records

[](#records)

*accepts only domain registered on Netcup*

Get DNS Records from a domain

```
$response = $netcup->infoDnsRecords('yourdomain.com');
//or from the Domain object
$domain = $netcup->infoDomain('mydomain.com');
$response = $netcup->infoDnsRecords($domain);
```

updateDnsRecords

(Under construction)

### Poll

[](#poll)

List all poll

```
$messageCount = 10; // optional; standard = 50
$response = $netcup->poll($messageCount);
```

Acknowledge a message

```
$response = $netcup->ackPoll($poll_id);
```

License This project is licensed under the MIT License - see the LICENSE file for details.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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

Total

3

Last Release

1062d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ae273774a20c2eefc3335bbcdb95f7df8e7f6d76019b102f0303eaa619e07fc?d=identicon)[thedigitalarchitects](/maintainers/thedigitalarchitects)

---

Top Contributors

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

---

Tags

laravelnetcuptda

### Embed Badge

![Health badge](/badges/tda-laravel-netcup/health.svg)

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

###  Alternatives

[rtconner/laravel-likeable

Trait for Laravel Eloquent models to allow easy implementation of a 'like' or 'favorite' or 'remember' feature.

394388.0k5](/packages/rtconner-laravel-likeable)[hemp/presenter

Easy Model Presenters in Laravel

247592.6k1](/packages/hemp-presenter)[slowlyo/owl-admin

基于 laravel、amis 开发的后台框架~

61214.2k26](/packages/slowlyo-owl-admin)

PHPackages © 2026

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