/VestaAPI

Powerful API client hosting VestaCP for Laravel

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

Powerful API client hosting VestaCP for Laravel

Installation

Via Composer

Going your project directory on shell and run this command:

$ composer require tabuna/vesta-api

Publication

php artisan vendor:publish --provider="VestaAPI\Providers\VestaServiceProvider"

Generate api key

bash /usr/local/vesta/bin/v-generate-api-key

Usage

Simple usage

use VestaAPI\Facades\Vesta;

$backups = Vesta::server('testVDS')->setUserName('MyUserName')->listUserBackups();