Skip to content
This repository was archived by the owner on May 11, 2023. It is now read-only.

2.1 #13

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

2.1 #13

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Powerful API client hosting VestaCP for Laravel
Going your project directory on shell and run this command:

```sh
$ composer require tabuna/vesta-api
$ composer require heliocg/vesta-api
```

Publication
Expand Down
15 changes: 9 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "tabuna/vesta-api",
"name": "heliocg/vesta-api",
"description": "VestaCP client for Laravel",
"keywords": [
"framework",
Expand All @@ -9,9 +9,10 @@
"panel"
],
"type": "library",
"minimum-stability": "dev",
"require": {
"guzzlehttp/guzzle": "^6.2",
"laravel/framework": "^5.0"
"guzzlehttp/guzzle": "^6.3",
"laravel/framework": "^6.0"
},
"license": "GPL-3.0",
"support": {
Expand All @@ -22,6 +23,10 @@
{
"name": "Alexandr Chernyaev",
"email": "[email protected]"
},
{
"name": "Hélio CG",
"email": "[email protected]"
}
],
"autoload": {
Expand All @@ -38,7 +43,5 @@
"Dashboard": "VestaAPI\\Facades\\Vesta"
}
}
},
"minimum-stability": "stable",
"prefer-stable": true
}
}
5 changes: 3 additions & 2 deletions src/Services/VestaAPI.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ public function setUserName($userName = '')
public function send($cmd)
{
$postVars = [
'user' => $this->userName,
'password' => $this->key,
//'user' => $this->userName,
//'password' => $this->key,
'hash' => $this->key,
'returncode' => $this->returnCode,
'cmd' => $cmd,
];
Expand Down