1.3.0
List of changed in version 1.3
Deprecated methods was removed
Here is the list:
- write
- w
- wr
- wri
Instead of these methods now need to use
- query
- q
- qr
- qri
Usage of deprecated methods was also removed from all examples.
Laravel Facade method \RouterOS::getClient() renamed to \RouterOS::client()
Instead of \RouterOS::getClient()
need to use \RouterOS::client()
, plus was added \RouterOS::config()
which contains all settings of installation provided by Laravel configs.
/export command support added
As described in issue #32 was not possible to export configuration from RouterOS, but from 1.3 it will be possbie.
Solution is based on divineomega/php-ssh-connection package.
Export can be triggered in two ways, details is here.
Laravel classes renamed
Instead of long class names, abbreviated names are now used, this makes the code a little more readable.
Tests show that this does not lead to problems, since the service is registered automatically.
Other minor changes
- Documentation updated, added information about:
- More examples and notes about
equal
method - Known issues (which in general issues from RouterOS side)
- information about
/export
and->export()
method
- More examples and notes about
- Code cleanup, non-used code removed, documentation code refactored
- larapack/dd added to require-dev packages list of
composer.json
- Finetune of
preconf.tcl
script, colors disabled, now script work faster phpunit/phpunit
version changed from 7.0 to 8.0- Additional visualization of tests with help of
limedeck/phpunit-detailed-printer
package - Names of some tests was changed