https://github.com/stereoflo/vesta-manage
manager for vesta api
https://github.com/stereoflo/vesta-manage
Last synced: about 1 month ago
JSON representation
manager for vesta api
- Host: GitHub
- URL: https://github.com/stereoflo/vesta-manage
- Owner: StereoFlo
- License: gpl-3.0
- Created: 2017-10-05T05:40:26.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-03T19:03:49.000Z (over 8 years ago)
- Last Synced: 2025-01-08T05:34:51.216Z (over 1 year ago)
- Language: PHP
- Size: 30.3 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Installation
#### Via Composer
Going your project directory on shell and run this command:
```sh
$ composer require stereoflo/vesta-manage
```
Publication
```php
php artisan vendor:publish
```
Then select a needed option from list
Generate api key on a server
```bash
bash /usr/local/vesta/bin/v-generate-api-key
```
Or you can get existing keys
```sh
ls -l /usr/local/vesta/data/keys/
```
## Usage
Simple usage
```php
use VestaManage\Facades\Vesta;
$backups = Vesta::server('testVDS')->setUserName($userThatUWantToView)->listUserBackups();