15 lines
390 B
PHP
15 lines
390 B
PHP
<?php
|
|
|
|
/// Require Composer AutoLoader
|
|
require_once '../../vendor/autoload.php';
|
|
|
|
/// Define our application
|
|
$App = new \alphayax\freebox\utils\Application( 'com.alphayax.freebox.config', 'PHP API Example (Config)', '1.0.0');
|
|
$App->authorize();
|
|
$App->openSession();
|
|
|
|
// DMZ
|
|
$toto = new \alphayax\freebox\api\v3\services\config\NAT\DMZ( $App);
|
|
$a = $toto->getConfiguration();
|
|
var_dump( $a);
|