-### speedport hybrid php api
+### speedport php api
- [![Build Status](https://travis-ci.org/Stricted/speedport-hybrid-php-api.svg?branch=test)](https://travis-ci.org/Stricted/speedport-hybrid-php-api) [![Release](https://img.shields.io/github/release/Stricted/speedport-hybrid-php-api.svg)](https://github.com/Stricted/speedport-hybrid-php-api/releases/latest) [![License](https://img.shields.io/badge/license-LGPLv3-brightgreen.svg)](https://github.com/Stricted/speedport-hybrid-php-api/blob/master/LICENSE)
+ [![Build Status](https://travis-ci.org/Stricted/speedport-hybrid-php-api.svg?branch=master)](https://travis-ci.org/Stricted/speedport-hybrid-php-api) [![Release](https://img.shields.io/github/release/Stricted/speedport-hybrid-php-api.svg)](https://github.com/Stricted/speedport-hybrid-php-api/releases/latest) [![License](https://img.shields.io/badge/license-LGPLv3-brightgreen.svg)](https://github.com/Stricted/speedport-hybrid-php-api/blob/master/LICENSE)
-Access Speedport Hybrid Router through PHP
+Access Speedport Router through PHP
-**THIS CLASS IS ONLY FOR SPEEDPORT HYBRID**
+This is an **EXPERIMENTAL** branch to support other speedport router, i dont have them so feel free to test it and report any error
### License
---
<?php
require_once('lib/exception/RebootException.class.php');
require_once('lib/exception/RouterException.class.php');
+ require_once('lib/exception/NotImplementedException.class.php');
require_once('CryptLib/CryptLib.php');
+require_once('Speedport.class.php');
+require_once('ISpeedport.class.php');
require_once('lib/trait/Connection.class.php');
require_once('lib/trait/CryptLib.class.php');
require_once('lib/trait/Login.class.php');
/**
* @author Jan Altensen (Stricted)
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @copyright 2015 Jan Altensen (Stricted)
+ * @copyright 2015-2016 Jan Altensen (Stricted)
*/
-class SpeedportHybrid {
+class SpeedportHybrid extends Speedport implements ISpeedport {
use Connection;
use CryptLib;
use Firewall;
* class version
* @const string
*/
- const VERSION = '1.0.4';
+ const VERSION = '1.0.5';
- /**
- * router url
- * @var string
- */
- private $url = '';
-
- /**
- * inititalize this class
- *
- * @param string $url
- */
- public function __construct ($url = 'http://speedport.ip/') {
- $this->url = $url;
- $this->checkRequirements();
- }
-
/**
* check php requirements
*/