tabuna/vesta-api

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

VestaCP client for Laravel

2.0 2020-04-25 17:44 UTC

This package is auto-updated.

Last update: 2023-05-26 00:31:29 UTC


README

b69285b4-2e15-11e7-9bd1-c91a04fb7f97.png

Powerful API client hosting VestaCP for Laravel

68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f746162756e612f56657374614150492f6261646765732f6770612e737667 68747470733a2f2f7374796c6563692e696f2f7265706f732f38393837373434382f736869656c643f6272616e63683d6d6173746572 68747470733a2f2f706f7365722e707567782e6f72672f746162756e612f76657374612d6170692f762f737461626c65 68747470733a2f2f706f7365722e707567782e6f72672f746162756e612f76657374612d6170692f646f776e6c6f616473 68747470733a2f2f706f7365722e707567782e6f72672f746162756e612f76657374612d6170692f6c6963656e7365

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