File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,11 +8,13 @@ For the full Technitium API Documentation please visit [Technitium API Documenta
88### Via Git
99
1010Run ` git clone https://github.com/ente/technitium-dnsserver-php-api.git ` where ever you want the library to be located.
11+
1112Then ` require_once "/path/to/API.dnsserver.ente.php"; ` & ` use Technitium\DNSServer\API\API; ` in your PHP file.
1213
1314### Via Composer
1415
1516Run ` composer require ente/technitium-dnsserver-php-api `
17+
1618Then: ` 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
You can’t perform that action at this time.
0 commit comments