Download the PHP package upmind/20i-php-sdk without Composer
On this page you can find all versions of the php package upmind/20i-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download upmind/20i-php-sdk
More information about upmind/20i-php-sdk
Files in upmind/20i-php-sdk
Package 20i-php-sdk
Short Description Upmind redistribution/fork of the official 20i PHP SDK
License GPL-3.0-only
Informations about the package 20i-php-sdk
Upmind 20i SDK
Upmind redistribution/fork of the official 20i PHP SDK: 20i/api-modules
Copyright (c) 2018, 20i Ltd
20i REST Module
Introduction
This is the REST module for 20i services. It provides the necessary wrappers to access 20i services without having to write your own REST client.
Requirements
- Composer
- PHP5 or later. Please note that future versions may require PHP7.
Service Examples
In the below examples, the services API key will be given as "API KEY". You should replace this with the actual value as on the API page https://my.20i.com/reseller/api.
Add a new hosting service:
Set the nameservers on a domain:
Find domains:
Authentication Examples
These only apply if you're trying to write your own version of the Stack control panel.
In the below examples, the auth API client key will be given as "CLIENT KEY". You should replace this with the actual value as on the API page https://my.20i.com/reseller/api.
Authenticate a user with their username/password:
Authenticate as a user you own:
Other Examples
Single sign-on:
Notes
Domain services are directly mapped from EPP format where possible. This means
that when a registry like Nominet uses hyphens (for example opt-out
) in their
tag names, they end up being hyphens in the resultant object too. You can still
use them, you just need to write the code a bit differently. For example,
$company_number = $contact->extension->{'co-no'};