Download the PHP package thg/thg-client without Composer

On this page you can find all versions of the php package thg/thg-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package thg-client

THG Hosting Open API Client

PHP Client for easier use of Open API

Install

Methods

Request

Creates custom request to chosen EP.

Get SSD VPS Plans

Returns SSD VPS Plans with net price in USD.

Get SSD VPS Locations

Returns SSD VPS Locations.

Get Custom OSes for SSD VPS

Returns Custom OSes for SSD VPS.

Create an SSD VPS Server

Creates an SSD VPS Server.

Get SSD VPS Operating Systems

Returns SSD VPS Operating Systems.

Get SSD VPS Servers

Returns SSD VPS Servers.

Get SSD VPS Server Details

Returns an SSD VPS Server’s details.

Delete SSD VPS Server

Deletes an SSD VPS Server.

Get SSD VPS Server Status

Returns an SSD VPS Server’s status.

Power On an SSD VPS Server

Startup an SSD VPS Server.

Power Off SSD VPS Server

Shutdown an SSD VPS Server.

Reboot SSD VPS Server

Reboot an SSD VPS Server.

Reboot an SSD VPS Server in Recovery Mode

Reboot an SSD VPS in Recovery Mode.

Reset Password of an SSD VPS Server

Change the virtual machine’s root password to regain control of a machine should root access be lost or forgotten.

Get SSD VPS Server Backups

Returns an SSD VPS Server’s Backups.

Add Note to an SSD VPS Server Backup

Add note to an SSD VPS Server’s backup.

Delete SSD VPS Server Backup

Deletes an SSD VPS Server’s Backup.

Restore SSD VPS Server with Backup

Restore an SSD VPS Backup. (Overwrites existing SSD VPS with backed up image).

Create Backups

Create SSD VPS Backups

Create IP Request

Request a new IP address.

Get Service Details

Get details for a service with net price in USD.

Get DNS Zones

Get all DNS zones.

Create DNS Zone

Create a DNS zone.

Get DNS Zone Details

Get DNS zone information.

Delete DNS Zone

Remove a DNS zone.

Add Record to DNS Zone

Adds a DNS record to the specified zone.

Update DNS Zone Record

Update an existing DNS zone record.

Delete DNS Zone Record

Remove a DNS record.

Get Servers

Get a list of all servers assigned to an account.

Get Server Details

Get full server profile.

Get Server Power Status

Retrieve the current power state of the given dedicated server.

Power On Server

Request the specified dedicated server to be turned on.

Power Off Server

Request the specified dedicated server to be turned off.

Reboot Server

Request the specified dedicated server to be rebooted.

Change Server Friendly Name

Request friendly name change of specified dedicated server.

Set rDNS entry for IP address

Set rDNS entry for IP address of specified dedicated server.

get SSH keys assigned to a server

Get list of SSH keys currently assigned to given server.

assign SSH key(s) to servers

Assign one or more SSH keys to given server.

un-assign SSH key(s) to servers

Un-assign one or more SSH keys from given server.

Set a custom PXE boot URL

Specify a custom PXE boot URL to load your preferred network boot environment.

Get Server Bandwidth Graph

Get a graphical representation of the bandwidth usage for a specific server over the given period.

Create IP Request

Request a new IP address

Get Server OS List

Get a list of available operating systems for provisioning a specific server.

Reimage Server

Reimage a server with a new operating system.

Get IPMI details for server

Get IPMI details for server.

Create VPN user to access IPMI interface

Create VPN user to access IPMI interface.

Delete VPN access to IPMI interface

Delete VPN access to IPMI interface.

Add Backup to Bare Metal Servers

Add Bandwidth

Get Tickets

Get a list of active support tickets.

Create Ticket

Create a new support ticket.

Get Ticket Departments

Get a list of ticket queues by department.

Get Ticket Details

Get the details of a specified support ticket.

Update Ticket

Update status of existing support ticket.

Add Reply to Ticket

Add reply to a specific support ticket.

Get Status Updates

Get a list of active status updates.

Get Billing Services

Returns customer services.

Get Billing Invoices

Returns customer invoices.

Get Microsoft Licenses

Returns Microsoft Licenses

Get Microsoft License Details

Returns Microsoft License Details

Delete Microsoft License

Deletes a Microsoft License

Get Available Microsoft License Products

Returns A List Of Microsoft License Products

List SSH keys Data

Returns A List Of SSH Keys

Add An SSH Key

Creates New SSH Key Record

Update Label For An Existing SSH Key

Updates Label For SSH Key Given Id

Delete An SSH Key

Delete An SSH Key Of The Given Id

Get An SSH Key With Id

Returns An SSH Key Given Id

Get list of server inventory

Returns server inventory list

Create new bare metal server order

Creates new bare metal server order

List Available addons for bare metal server order

Returns list of all available addons for a bare metal server


All versions of thg-client with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2 || ^8.0
ext-curl Version *
ext-fileinfo Version *
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package thg/thg-client contains the following files

Loading the files please wait ...