Skip to content

Commit c9a188a

Browse files
author
cp6
committed
Updated for composer install
Updated for composer install
1 parent 1975ca8 commit c9a188a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

example.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
<?php
2-
require_once('class.php');
3-
$vultr = new vultrAPI();
2+
require __DIR__ . '/vendor/autoload.php';
3+
4+
use Corbpie\VultrAPIv2\VultrAPI;
5+
6+
$vultr = new VultrAPI();
7+
48
echo $vultr->listServers();//Data for all current account instances
59

610

0 commit comments

Comments
 (0)