Download the PHP package smartcat/smartcat-api without Composer

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

PHP client SmartCAT API

Latest Version Total Downloads

PHP client SmartCAT API

How to use:

  1. Install composer
  2. composer require smartcat/smartcat-api
  3. composer install

    Use Case

Account

Gets the account details
GET /api/integration/v1/account

Gets MT engines available for the account
GET /api/integration/v1/account/mtengines

Gets LSP's services available for the account](https://smartcat.com/api/methods/#!/Account/Account_GetLSPServicesForAccount)
GET /api/integration/v1/account/lsp/services

Gets available assignees (MyTeam freelancers or internal account users)
GET /api/integration/v1/account/assignableExecutives

Callback

Reset configurations of notifications reception DELETE /api/integration/v1/callback

Reading configurations of notifications reception of the account GET /api/integration/v1/callback

Creating and updating configurations of notifications reception POST /api/integration/v1/callback

Reading the last sending errors (no more than 100) GET /api/integration/v1/callback/lastErrors

Client

Creates a client with the specified name and returns the Id
If the client already exists, just returns the Id.
POST /api/integration/v1/client/create

Get details on a client specified within an account
GET /api/integration/v1/client/{clientId}

Sets the specified net rate model for the specified customer
PUT /api/integration/v1/client/{clientId}/set

Directories

Receive the specified directory GET /api/integration/v1/directory

Gets parsing formats supported by the account
GET /api/integration/v1/directory/formats

Document

Delete one or several documents DELETE /api/integration/v1/document

Receive document model GET /api/integration/v1/document

Update assigned document PUT /api/integration/v1/document/update

Rename assigned document PUT /api/integration/v1/document/rename

Translate indicated document using the transferred file with translations PUT /api/integration/v1/document/translate

Импортировать xliff-файл с переводами документа
PUT /api/integration/v1/document/translateWithXliff

Receive the status of adding document translation GET /api/integration/v1/document/translate/status

Gets a detailed report about translation importing results
GET /api/integration/v1/document/translate/result

Gets statistics
GET /api/integration/v1/document/statistics

Split document into equal segments according to the number of words and assign each freelancer to one segment POST /api/integration/v1/document/assignFreelancers

DocumentExport

Request document (-s) export POST /api/integration/v1/document/export

Download the results of export GET /api/integration/v1/document/export/{taskId}

Glossary

Получить набор глоссариев
GET /api/integration/v1/glossaries

Invoice

Creates a payable for a freelancer
POST /api/integration/v1/invoice/job

PlaceholderFormatApi

Gets all placeholder formats available in the current account
GET /api/integration/v1/placeholders

Saves a set of placeholder formats for the current account
PUT /api/integration/v1/placeholders

Validates the specified placeholder format
GET /api/integration/v1/placeholders/validate

Project

Delete project DELETE /api/integration/v1/project/{projectId}

Receive project model GET /api/integration/v1/project/{projectId}

Update project using ID
PUT /api/integration/v1/project/{projectId}

Receive the list of all projects in account GET /api/integration/v1/project/list

Receive the list of all projects in account with offset (v2)

GET /api/integration/v2/project/list

Receive statistics and project value
GET /api/integration/v2/project/{projectId}/statistics

Receiving statistics for the completed parts of the project
GET /api/integration/v1/project/{projectId}/completedWorkStatistics

Receiving a list of the TMs plugged into the project
GET /api/integration/v1/project/{projectId}/translationmemories

Rewrite connected TMs — same set of TMs for all target languages
POST /api/integration/v1/project/{projectId}/translationmemories

Gets a set of glossaries enabled for a project
GET /api/integration/v1/project/{projectId}/glossaries

Enables a set of glossaries for a project
PUT /api/integration/v1/project/{projectId}/glossaries

Starts generating statistics for the project
POST /api/integration/v1/project/{projectId}/statistics/build

Rewrite connected TMs — each target language with its own set of TMs
POST /api/integration/v1/project/{projectId}/translationmemories/bylanguages

Create a project POST /api/integration/v1/project/create

Add new document to project POST /api/integration/v1/project/document

If you want to set Disassemble Settings, you should set Disassemble Algorithm. For example:

Deprecated:

Add new target language to project POST /api/integration/v1/project/language

Assign the group of translators for the specific stage of documents in project PUT /api/integration/v1/project/{projectId}/assignGroupToWorkflowStage

Cancel project POST /api/integration/v1/project/cancel

Restore project POST /api/integration/v1/project/restore

Completes the workflow for all project documents. The project status will change to Completed.
POST /api/integration/v1/project/restore

TranslationMemories

Deletes the TM
DELETE /api/integration/v1/translationmemory/{tmId}

Gets TM details
GET /api/integration/v1/translationmemory/{tmId}

Imports TMX files into the TM
POST /api/integration/v1/translationmemory/{tmId}

Gets a collection of TMs available for the account
GET /api/integration/v1/translationmemory

Creates an empty TM
POST /api/integration/v1/translationmemory

Gets a collection of tasks for TMX import
GET /api/integration/v1/translationmemory/task

Sets an array of target languages required by the TM
PUT /api/integration/v1/translationmemory/{tmId}/target

Exports TMX files from the TM
GET /api/integration/v1/translationmemory/{tmId}/file

Gets matches from a given TM
POST /api/integration/v1/translationmemory/matches

Removes a given import task
DELETE /api/integration/v1/translationmemory/task/{taskId}

User

Creates a new user with the specified parameters
POST /api/integration/v1/user

Deletes a user
DELETE /api/integration/v1/user/{accountUserId}

Gets a user model
GET /api/integration/v1/user/{accountUserId}

Updates user data
PUT /api/integration/v1/user/{accountUserId}

Gets a user by its external ID
GET /api/integration/v1/user/external


All versions of smartcat-api with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4 | ^8.0
guzzlehttp/psr7 Version ^2.0
symfony/serializer Version ^2.0 || ^3.0 || ^4.0 || ^5.0
nesbot/carbon Version ^2.42
ext-json Version *
guzzlehttp/guzzle Version ^7.8
symfony/options-resolver 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 smartcat/smartcat-api contains the following files

Loading the files please wait ....