Download the PHP package eurotext/rest-api-client without Composer

On this page you can find all versions of the php package eurotext/rest-api-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 rest-api-client

EUROTEXT AG - API Client for PHP

If you want to connect to the live API server, use https://api.eurotext.de, for sandbox testing use https://sandbox.api.eurotext.de.

Note: By default the client connects to the sandbox API! This behaviour can be configured within the configuration object.

Available Endpoints

The API provides various endpoints. This Client only implements access to the following endpoints:

Manage Projects

Create (POST)

connects to /api/v1/project/{project}

Creates a new project, expects a ProjectPostRequest object

Retrieve (GET)

connects to /api/v1/project/{project}

Retrieves project data, expects an ProjectGetRequest object

Change Status (PATCH)

connects to /api/v1/transition/project/{project}.json

Transitions project status, expects a ProjectTransitionRequest object

Pseudo-Translate (PATCH)

connects to /api/v1/project/translate/{project}.json

Translates all items in a project with pseudo-translated strings, expects a ProjectTranslateRequest object

Manage Items

Create (POST)

connects to /api/v1/project/{project}/item/{item}

creates a new item, expects a ItemPostRequest object

Retrieve (GET)

connects to /api/v1/project/{project}/item/{item}

Retrieves item data, expects a ItemGetRequest object

Inner Workings

This client uses object oriented programming and dependency injection.

To create a project create request you first have to instantiate the client with a configuration:

Using dependency injection you can create your own data or request objects as long as you implement the required interfaces. These are required by the corresponding methods and will throw exceptions if you don't implement them. This approach forces you to create all required methods needed by the API.


All versions of rest-api-client with dependencies

PHP Build Version
Package Version
Requires php Version ~7.0.0|~7.1.0|~7.2.0|~7.3.0|~7.4.0
ext-json Version *
guzzlehttp/guzzle Version ~6.3
symfony/serializer Version ~3.3|~4.0|~5.0
symfony/property-info Version ~3.4.0|~4.0|~5.0
symfony/property-access Version ~3.4|~4.0|~5.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 eurotext/rest-api-client contains the following files

Loading the files please wait ....