Download the PHP package ocolin/tarana-tcs without Composer

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

Tarana TCS

What is it?

This is a lightweight PHP REST client for the Tarana TCS API services.

Requirements

Installation

Configuration

Configuration can be done either through environment settings or constructor arguments. Only properties are needed for configuration. Your API token and the URL of the TSC server. The TSC hostname is also optional as Tarana's API is sell established. However, should that ever change, the hostname can be configured.

Configuration Properties

Environment Argument type Description
TARANA_TCS_API_TOKEN $token string API Key assigned by Tarana
TARANA_TCS_API_HOST $host string Tarana TSC hostname
-- $options array|object Optional guzzle properties

Environment Variables

Constructor Arguments

Options

Optional guzzle parameters can be set using the options argument.

HTTP Defaults

Option Default Description
timeout 20 Seconds to give HTTP attempt
verify true Verify SSL credentials

Response

The client returns a response object with the payload as well as HTTP data. Tarana TCS returns an object with a property for data, and a property for error on all calls. This client body payload will be either the error content or data content depending on whether the call was successful or not.

Parameter Type Description
status integer HTTP status code
statusMessage string HTTP status message
headers array HTTP response headers
body object TSC payload. Data or error content

Path interpolation

The TSC client will interpolate any path variable tokens with value in any matching keys or properties in the $query parameter. See the GET method example to see a path token being replaced.

Method functions

GET

Get a resource(s)

POST

Create a resource.

PATCH

Update a resource.

PUT

Complete update of resource.

DELETE

Remove resource

REQUEST

Generic HTTP request function.


All versions of tarana-tcs with dependencies

PHP Build Version
Package Version
Requires php Version ^8.3
guzzlehttp/guzzle Version ^7.10
ocolin/global-type Version ^2.0
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 ocolin/tarana-tcs contains the following files

Loading the files please wait ...