This package is abandoned and no longer maintained. No replacement package was suggested.

Vesta-php is a php package to help make calls to a Vesta Control Panel API.

v1.1.2 2020-09-14 08:48 UTC

This package is auto-updated.

Last update: 2022-08-21 18:14:20 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

Vesta-php is a php package to help make calls to a Vesta Control Panel API.

Installation

You can install the package via composer:

composer require steadfastcollective/vesta-php

Usage

use SteadfastCollective\Vesta\Vesta;

$response = (new Vesta($ip, $username, $password, $port))
    ->request([
        'cmd' => 'v-add-user',
        'arg1' => 'example-username',
        'arg2' => 'example-password',
        'arg3' => 'example@example.com',
    ]);

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email dev@steadfastcollective.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.