Download the PHP package transip/tipctl without Composer

On this page you can find all versions of the php package transip/tipctl. 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 tipctl

Tipctl

TransIP Control (tipctl) is a tool that connects to the TransIP API from your terminal. It has all available resources implemented from the TransIP RestAPI, and offers you commands to order, update and remove products from your TransIP account.

Latest Stable Version License

Requirements

Installation

There are two ways you can install Tipctl.

Download and install the PHAR file

This can be downloaded from our most recent GitHub Release.

Once the file has been downloaded, you must make sure that the phar file has a correct permission for it to be an executable.

It is important to note that you must use ./ every time to indicate you are using the tipctl executable from your current directory. This is because the command line (bash) interprets all commands by looking for commands in locations described in the environment variable $PATH. If you want to use the tipctl command globally, then we recommend installing using composer.

Install with Composer

You can install Tipctl using Composer. Run the following command:

Now that the tipctl binary is available globally, make sure that your global vendor binaries directory is included in your environment $PATH variable. You can get the vendor binaries directory by using the following command:

Now execute the following command to see the version of tipctl installed:

Getting started

Run the user interactive setup script

You can also run the setup script with no user interaction

Usage / Commands

List all available commands

List all of your domains

Update a single DNS record on your domain

Understanding how to use the help argument

When using tipctl you can use a -h argument to get information about how a specified command works.

From the above example, the help argument should be used and interpeted like this:

And this will output the following:

Usage example and how it should be interpeted

Demo / Read Only Modes

Test mode

Test mode allows you to connect to your TransIP account and execute actions without making any changes to your products or your account. In the test process, all actions are evaluated as best as possible, comparable to production mode. If any given argument is incorrect, then you will see errors that explain why a query was unsuccessful.

While executing any command, you can provide an argument called --test. This lets our API know that the command you executed is a test and no changes will occur in your TransIP account.

Demo mode

Demo mode allows you to connect to the TransIP demo account and interact with the demo account to give you perspective on how you can use Tipctl with a TransIP account.

RestAPI Library

How PHP resource calls are implemented

Since this project is built on the RestAPI PHP library, in the library README.md we recommend to look in to this CLI project for examples on how we have implemented the available resource calls that exist in the RestAPI library.

Where to find the implementations

All commands implemented in this project are located inside the src/Command/ directory. Each class represents a command for Tipctl.

Every class has a execute method that will look like this:

The code snippet in the code above is equivalent to this library example:

To see how to retrieve all invoices in your TransIP account, you would look in to the file: src/Command/Invoice/GetAll.php

The code example for this should be interpreted like this:

To see all implementations in this project, you can see what commands are available by downloading Tipctl and listing all available commands. You can then use this as a reference point to find your desired class.


All versions of tipctl with dependencies

PHP Build Version
Package Version
Requires php Version ^7.2.5|^8.0
ext-json Version *
symfony/console Version ^5.4
symfony/finder Version ^5.4
symfony/filesystem Version ^5.4
transip/transip-api-php Version ^6.48
symfony/yaml Version ^5.4
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 transip/tipctl contains the following files

Loading the files please wait ....