public function list()
 {
     $config = array('host' => \Config::get('plesk.url'), 'username' => \Config::get('plesk.username'), 'password' => \Config::get('plesk.password'));
     $request = new \pmill\Plesk\ListClients($config);
     $info = $request->process();
     return view('customers/list', ["info" => $info]);
     /* $sites= new \pmill\Plesk\ListSubscriptions($config);
     $info2 = $sites->process();
     print_r($info2);
     echo "</pre>";
     */
 }
예제 #2
0
<?php

require_once "../config.php";
$request = new \pmill\Plesk\ListClients($config);
$info = $request->process();
var_dump($info);