VestaCP client for Laravel

1.3 2021-02-04 17:08 UTC

This package is auto-updated.

Last update: 2024-05-17 09:28:51 UTC


README

Forked from - github-tabuna/VestaAPI

Powerful API client hosting VestaCP for Laravel

stable

downloads license

Installation

Via Composer

Going your project directory on shell and run this command:

$ composer require saiashirwadinformatia/vesta-cp-api

Publication

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

Generate new API key

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

List Existing API Key's

$ ls -l /usr/local/vesta/data/keys/

Usage

Simple usage

use VestaCP\Facades\Vesta;

$backups = Vesta::server('default')->listUserBackups();
$accounts = Vesta::server('default')->listUserAccount();

LICENSE

GPL-3.0