diff --git a/README.md b/README.md index 9442039..6b493d6 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/composer.json b/composer.json index 3376583..2b1c275 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "tabuna/vesta-api", + "name": "heliocg/vesta-api", "description": "VestaCP client for Laravel", "keywords": [ "framework", @@ -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": { @@ -22,6 +23,10 @@ { "name": "Alexandr Chernyaev", "email": "bliz48rus@gmail.com" + }, + { + "name": "Hélio CG", + "email": "suporte@elicast.com.br" } ], "autoload": { @@ -38,7 +43,5 @@ "Dashboard": "VestaAPI\\Facades\\Vesta" } } - }, - "minimum-stability": "stable", - "prefer-stable": true + } } diff --git a/src/Services/VestaAPI.php b/src/Services/VestaAPI.php index d573efd..6eb7602 100644 --- a/src/Services/VestaAPI.php +++ b/src/Services/VestaAPI.php @@ -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, ];