Skip to content

Commit ac92a81

Browse files
committed
Update README.md
1 parent 4db906b commit ac92a81

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ For the full Technitium API Documentation please visit [Technitium API Documenta
88
### Via Git
99

1010
Run `git clone https://github.com/ente/technitium-dnsserver-php-api.git` where ever you want the library to be located.
11+
1112
Then `require_once "/path/to/API.dnsserver.ente.php";` & `use Technitium\DNSServer\API\API;` in your PHP file.
1213

1314
### Via Composer
1415

1516
Run `composer require ente/technitium-dnsserver-php-api`
17+
1618
Then: `require_once "/path/to/vendor/autoload.php";` & `use Technitium\DNSServer\API\API;`
1719

1820
## Configuration
@@ -38,7 +40,7 @@ $api = new API("path/to/env", "env-name");
3840
// Get all zones
3941
$zones = $api->zones()->get();
4042
// Get all zone records
41-
$records = $api->zones->records()->get("example.com");
43+
$records = $api->zones()->records()->get("example.com");
4244

4345
// Install an app
4446

0 commit comments

Comments
 (0)