Skip to content
This repository has been archived by the owner on Aug 10, 2022. It is now read-only.

Latest commit

 

History

History
57 lines (37 loc) · 1.72 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.72 KB

Vesta PHP

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.