Installation
Via Composer
Going your project directory on shell and run this command:
$ composer require stereoflo/vesta-manage
Publication
php artisan vendor:publish
Then select a needed option from list
Generate api key on a server
bash /usr/local/vesta/bin/v-generate-api-key
Or you can get existing keys
ls -l /usr/local/vesta/data/keys/
Usage
Simple usage
use VestaManage\Facades\Vesta;
$backups = Vesta::server('testVDS')->setUserName($userThatUWantToView)->listUserBackups();