PHPackages                             wazaari/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. wazaari/kasapi-php

ActiveLibrary[API Development](/categories/api)

wazaari/kasapi-php
==================

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

v0.5.5(2y ago)241.3k↓50%8MITPHP

Since Dec 3Pushed 2y ago5 watchersCompare

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

READMEChangelog (5)DependenciesVersions (9)Used By (0)

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

[](#kasapi-php)

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.

### Installation

[](#installation)

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

Just add the following line to the `require` section of your `composer.json`:

```
 "wazaari/kasapi-php": "dev-master"

```

Alternatively you can clone the following Git repository (`git clone https://github.com/waza-ari/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($username, $authData, $authType);

```

`$username` 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, which could be a hashed password. 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 `sha1` as authentication method. In this case, `$authType` simply would be `sha1`, and `$authData` should be set to the sha1 hash of your KAS account. Assuming your username is `abcd1234` and your password is `password`, the following line would create the correct credential object:

```
$kasConfiguration = new KasApi\KasConfiguration("abcd1234", sha1("password"), "sha1");

```

This method allows you to authenticate against the KAS API without storing your plain password in a configuration file or database. 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:

```
private $functions = array(
  [...]
  'get_dns_settings'        => 'zone_host!, nameserver, 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(array(
  'zone_host' => 'example.com.',
  'record_id' => 123
));

```

is perfectly valid. Notice we omitted the `nameserver` parameter, which is optional, but we included the `zone_host`, which is required in every case.

### 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.)

```

```

If you have any feedback, please provide it as comment or issue using GitHub and the URL above.

Changelog
---------

[](#changelog)

#### Version 0.5

[](#version-05)

- Starting from version 0.5, this project is now released under the [MIT license](http://opensource.org/licenses/MIT). A copy can also be found in this repository. Further, the former GPL license has been removed.

#### Version 0.4

[](#version-04)

- Minor fix to prevent a Warning while fetching parameters from arguments

#### Version 0.3

[](#version-03)

- Initial version of this library, created by [Elias Kuiter](https://github.com/ekuiter/) and extended by [Daniel Herrmann](https://github.com/waza-ari/).
- Composer support was added.

Credits
-------

[](#credits)

[Elias Kuiter](https://github.com/ekuiter/) created `kasapi-php` to provide an easy way to access All-Inkl's public API. Credits go to [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). Note that the original repository ([ekuiter/kasapi-php](https://github.com/ekuiter/kasapi-php)) is now deprecated, use this repository instead.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Recently: every ~819 days

Total

8

Last Release

742d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a1c938aa9e66a987a81a615e08fe81db50787b2f5f40cca83c3418c40b35e1bd?d=identicon)[waza-ari](/maintainers/waza-ari)

---

Top Contributors

[![waza-ari](https://avatars.githubusercontent.com/u/4508976?v=4)](https://github.com/waza-ari "waza-ari (22 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)")[![Boddlnagg](https://avatars.githubusercontent.com/u/1024333?v=4)](https://github.com/Boddlnagg "Boddlnagg (1 commits)")[![nrueckmann](https://avatars.githubusercontent.com/u/8546880?v=4)](https://github.com/nrueckmann "nrueckmann (1 commits)")[![LaveIT](https://avatars.githubusercontent.com/u/49946910?v=4)](https://github.com/LaveIT "LaveIT (1 commits)")[![crypto-scythe](https://avatars.githubusercontent.com/u/908195?v=4)](https://github.com/crypto-scythe "crypto-scythe (1 commits)")[![jan-di](https://avatars.githubusercontent.com/u/23323185?v=4)](https://github.com/jan-di "jan-di (1 commits)")

---

Tags

phpapiwsdlall-inklKAS

### Embed Badge

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

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

###  Alternatives

[jstolpe/instagram-graph-api-php-sdk

Instagram Graph API PHP SDK

13998.4k2](/packages/jstolpe-instagram-graph-api-php-sdk)

PHPackages © 2026

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