This is a PHP library for the new rest API of Versio (Hostingprovider) as described here: https://www.versio.nl/RESTapidoc/.
This library can manage Domains, Reseller Hosting Accounts, WebHosting Accounts and SSL certificates as well as managing and viewing the Categories, TLDS and Products of Versio.
Installation through composer:
composer require bekodesign/versio-php-api
Download release.
Please reference the Wiki pages for the documentation.
This library is using PHP dotenv for enviroment variables. Since Versio is using Basic Auth and does not provide a demo account the tests need access to your full username and password.
In order to run the provided tests:
- Clone this repository
- Create a new
.env
file in the root of the repository with the following contents:
VERSIO_HOST=versio.nl
VERSIO_USERNAME={YOUR VERSIO USERNAME}
VERSIO_PASSWORD={YOUR VERSIO PASSWORD}
Replace {YOUR VERSIO USERNAME} and {YOUR VERSIO PASSWORD} with the credentials you use to sign in at https://www.versio.nl/login?uri=/customer/
You can also change the host to versio.uk, versio.nl, versio.be, versio.eu. But the default fallback is versio.nl.
This project is released under the MIT License.
Please report any problems or suggestions via: GitHub issues
Feel free to create a Pull Request.
Contributors: