PHPackages                             kveldscholten/kasapi-php - 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. [API Development](/categories/api)
4. /
5. kveldscholten/kasapi-php

ActiveLibrary[API Development](/categories/api)

kveldscholten/kasapi-php
========================

Manage your All-Inkl account with the KAS API for PHP

1.0.1(3y ago)116MITPHPPHP &gt;=7.0

Since Dec 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/kveldscholten/kasapi-php)[ Packagist](https://packagist.org/packages/kveldscholten/kasapi-php)[ Docs](https://github.com/kveldscholten/kasapi-php)[ RSS](/packages/kveldscholten-kasapi-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (13)Used By (0)

kasapi-php
==========

[](#kasapi-php)

[![Latest Stable Version](https://camo.githubusercontent.com/222aa52d8ad4bd47ce2b11542dbb95f46275eb44479a9b02f9d1e7da168ccd12/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b76656c647363686f6c74656e2f6b61736170692d7068702e737667)](https://packagist.org/packages/kveldscholten/kasapi-php)[![GitHub](https://camo.githubusercontent.com/0c6550bb0b688e3f06c004b2498f8c9c8c36f9bf98b9fb0f4eb998d7219ce106/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6b76656c647363686f6c74656e2f6b61736170692d706870)](https://github.com/kveldscholten/kasapi-php/blob/master/LICENSE.md)

Manage your All-Inkl account with the KAS API for PHP
-----------------------------------------------------

[](#manage-your-all-inkl-account-with-the-kas-api-for-php)

All-Inkl.com provides an API for automated access to all your accounts, settings, (sub-)domains, databases, cronjobs, mail accounts, ... This API is called the *KAS API*. To learn more about it, visit the official [KAS API Documentation](http://kasapi.kasserver.com/dokumentation/phpdoc/). There are also some [example forms](http://kasapi.kasserver.com/dokumentation/?open=beispiele) to try out.

This is a PHP implementation of the API, which provides simple access to all functions provided by the API.

### Requirements

[](#requirements)

- [PHP &gt;= 7.0](http://php.net/)
- [JSON Extension](https://www.php.net/manual/en/book.json.php)
- [SOAP Extension](https://www.php.net/manual/en/book.soap.php)

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

[](#installation)

The recommended installation method is to use Composer. This software is [available at Packagist](https://packagist.org/packages/kveldscholten/kasapi-php).

```
 composer require kveldscholten/kasapi-php

```

Alternatively you can clone the following Git repository (`git clone https://github.com/kveldscholten/kasapi-php.git`, see below).

Usage
-----

[](#usage)

Now, we will take a closer look at how this API works.

Whenever you want to use the API, you need to create a KasConfiguration object first. This is done easily:

```
$kasConfiguration = new KasApi\KasConfiguration($login, $authData, $authType);
```

`$login` is quite self explaining. The KAS API allows for different types of authentication. Thus, you need to specify an authentication type and the corresponding authentication data. Have a look at the documentation of All-Inkl to obtain a list of possible authentication methods.

As an example, assume you want to use `plain` as authentication method. In this case, `$authType` simply would be `plain`, and `$authData` should be set to the plain Password of your KAS account. Assuming your login is `w0123456` and your password is `password`, the following line would create the correct credential object:

```
$kasConfiguration = new KasApi\KasConfiguration("w0123456", "password", "plain");
```

Next, you need to create an KasApi object to operate on:

```
$kasApi = new KasApi\KasApi($kasConfiguration);
```

On this object, you can call any API method specified in the [KAS documentation](http://kasapi.kasserver.com/dokumentation/phpdoc/packages/API%20Funktionen.html). Alternatively, you can have a look at the KasApi class.

```
$kasApi->get_databases();
```

Examples from the KasApi class might look like this:

```
protected $functions = [
  [...]
  'get_dns_settings'        => 'zone_host!, record_id',
  'get_domains'             => 'domain_name',
  'get_topleveldomains'     => '',
  'get_ftpusers'            => 'ftp_login',
  'get_mailaccounts'        => 'mail_login',
  [...]
];
```

This array specifies which API functions you may call and which parameters to pass. The `!` suffix means that this parameter is required and has to be specified (e.g. `zone_host!`), all other parameters are optional (e.g. `domain_name`).

So if you look at `get_dns_settings` above, you see that a call like

```
$kasApi->get_dns_settings([
  'zone_host' => 'example.com.',
  'record_id' => 123
]);
```

is perfectly valid.

Usage without Composer
----------------------

[](#usage-without-composer)

Here's an example of how to use the API if you just `git clone` this repository: (Place this file in the parent directory of the `src` directory.)

```

```

Feedback? Issues?
-----------------

[](#feedback-issues)

If you have any feedback, please provide it as comment or [create an issue](https://github.com/kveldscholten/kasapi-php/issues).

Credits
-------

[](#credits)

- [Elias Kuiter](https://github.com/ekuiter/) created `kasapi-php` to provide an easy way to access All-Inkl's public API.
- [Daniel Herrmann](https://github.com/waza-ari/) as well for making big extensions to the API (such as streamlining the classes, correcting some errors and adding Composer integration).

License
-------

[](#license)

kasapi-php is available as open source under the terms of the [MIT License](https://github.com/kveldscholten/kasapi-php/blob/master/LICENSE.md).

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

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

Recently: every ~42 days

Total

12

Last Release

1185d ago

Major Versions

v0.5.7 → 1.0.02022-09-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/077d6fc126e4e0365722551e280a44a43f02fe806bd0d9e441fd00773d1c8688?d=identicon)[kveldscholten](/maintainers/kveldscholten)

---

Top Contributors

[![waza-ari](https://avatars.githubusercontent.com/u/4508976?v=4)](https://github.com/waza-ari "waza-ari (21 commits)")[![ekuiter](https://avatars.githubusercontent.com/u/4258713?v=4)](https://github.com/ekuiter "ekuiter (13 commits)")[![rhurling](https://avatars.githubusercontent.com/u/840655?v=4)](https://github.com/rhurling "rhurling (6 commits)")[![nrueckmann](https://avatars.githubusercontent.com/u/8546880?v=4)](https://github.com/nrueckmann "nrueckmann (1 commits)")[![jan-di](https://avatars.githubusercontent.com/u/23323185?v=4)](https://github.com/jan-di "jan-di (1 commits)")[![crypto-scythe](https://avatars.githubusercontent.com/u/908195?v=4)](https://github.com/crypto-scythe "crypto-scythe (1 commits)")[![Boddlnagg](https://avatars.githubusercontent.com/u/1024333?v=4)](https://github.com/Boddlnagg "Boddlnagg (1 commits)")

---

Tags

all-inklapikaskasserverphpsoapwsdlphpapisoapwsdlall-inklKASkasserver

### Embed Badge

![Health badge](/badges/kveldscholten-kasapi-php/health.svg)

```
[![Health](https://phpackages.com/badges/kveldscholten-kasapi-php/health.svg)](https://phpackages.com/packages/kveldscholten-kasapi-php)
```

###  Alternatives

[wazaari/kasapi-php

Manage your All-Inkl account with the KAS API for PHP

241.3k](/packages/wazaari-kasapi-php)[hiddeco/transip

The better TransIP API client.

22319.8k2](/packages/hiddeco-transip)[skautis/skautis

Library for API calls to SkautIS

1329.7k4](/packages/skautis-skautis)

PHPackages © 2026

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