Download the PHP package olssonm/loopia-api without Composer
On this page you can find all versions of the php package olssonm/loopia-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download olssonm/loopia-api
More information about olssonm/loopia-api
Files in olssonm/loopia-api
Package loopia-api
Short Description Simple interface for the Loopia XMLRPC-API
License MIT
Homepage https://github.com/olssonm/loopia-api
Informations about the package loopia-api
Loopia API
A super simple wrapper for the Loopia XML RPC-API for PHP.
Relies on lstrojny/fxmlrpc to make fast and efficient calls to the API. Requires PHP ^7.2 or PHP ^8.0.
Installation
Usage
Using the package is straight forward – just include the client, create an instance and make your calls.
All methods are listed over at the Loopia API-documentation.
Get all your domains
If needed, you may of course separate your code, like so:
Check the zone records for a domain (with subdomain)
Update your DNS (name)-servers
Update your zone records
Testing
Copy /tests/boot.example.php
to /tests/boot.php
and edit your settings. Then run:
Of course the domain under testing needs to be owned by your Loopia account. Note: The last test (test_update_name_servers
) actually modifies your name servers, use with caution.
License
The MIT License (MIT). Please see License File for more information.
© 2021 Marcus Olsson.
All versions of loopia-api with dependencies
lstrojny/fxmlrpc Version ^0.20
zendframework/zend-diactoros Version ^1.3
php-http/message Version ^1.11
php-http/guzzle6-adapter Version ^2.0