tabuna / vesta-api
VestaCP client for Laravel
Installs: 3 678
Dependents: 0
Suggesters: 0
Security: 0
Stars: 36
Watchers: 6
Forks: 17
Open Issues: 5
Requires
- guzzlehttp/guzzle: ^6.5
- laravel/framework: ^7.0
README
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();