SAIKA – Simple All-Inkl Kas Api

0.1.0 2018-04-02 13:38 UTC

This package is auto-updated.

Last update: 2024-11-26 02:41:52 UTC


README

SAIKA – Simple All-Inkl KasApi [WIP].

Install

composer global require schnittstabil/saika

Usage

use Schnittstabil\Saika\KasApi;

$api = KasApi::getInstance(getenv('KAS_AUTH_USER'), getenv('KAS_AUTH_PASS'));

Chown

// change owner of /www/htdocs/<...>/.htaccess to getenv('KAS_AUTH_USER')
$api->chown('.htaccess');

// change owner of /www/htdocs/<...>/.htaccess to www-data
$api->chown('.htgroups', $api->getWwwUser());

License

MIT © Michael Mayer