michaelesmith / dyndns-processor-digitalocean
a processor for the dyndns-kit framework to use Digital Ocean's API
0.1.0
2018-11-02 22:20 UTC
Requires
- guzzlehttp/guzzle: ^6.3
- michaelesmith/dyndns-kit: ^0.1
- toin0u/digitalocean-v2: ^2.2
Requires (Dev)
- mockery/mockery: ^1.2
- phpunit/phpunit: ^7.4
This package is auto-updated.
Last update: 2024-11-29 05:44:45 UTC
README
What is this?
This is a processor for the dyndns-kit framework to use Digital Ocean's API via DigitalOceanV2 so that . If you don't know what DynDNS-Kit is take a look.
Install
composer require "michaelesmith/dyndns-processor-digitalocean"
How do I use it
To see a full example usage please refer to the example project.
Basic usage
$doProcessor = new DigitalOceanApiProcessor( ['example.com'], new \DigitalOceanV2\DigitalOceanV2( new \DigitalOceanV2\Adapter\GuzzleHttpAdapter('my_api_token) ) );
This example uses the DigitalOceanV2 to interact with the Digital Ocean API for updating their DNS entries.
Contributing
Have an idea to make something better? Submit a pull request. PR's make the open source world turn. 🌎 🌏 🌍 Happy Coding!