VestaAPI icon indicating copy to clipboard operation
VestaAPI copied to clipboard

Powerful API client hosting VestaCP for Laravel

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();