2017 © Pedro Peláez
 

library ter-client

Client for interacting with the official TYPO3 Extension Repository (TER). Contains API Symfony Commands

image

helhum/ter-client

Client for interacting with the official TYPO3 Extension Repository (TER). Contains API Symfony Commands

  • Friday, July 20, 2018
  • by helhum
  • Repository
  • 3 Watchers
  • 5 Stars
  • 178 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 16 % Grown

The README.md

TER Client

TYPO3 Extension Repository (TER) client library and Symfony Console commands. This has been built on the shoulders of namelesscoder/typo3-repository-client. Thanks a lot Claus Due for the idea and the foundation., (*1)

Installation

Use composer to install the TER Client: composer require helhum/ter-client, (*2)

Usage

Each command which can be executed has a corresponding class, for example Helhum\TerClient\Uploader and a CLI script which acts as a wrapper for said class. The parameters which should be passed to each CLI script must be the same arguments and in the same order as required by the class' method., (*3)

Uploader

As component:, (*4)

$uploadPacker = new ExtensionUploadPacker();
$connection = Connection::create($wsdUrl);
$result = $connection->upload(
    new UsernamePasswordCredentials($username, $password),
    $uploadPacker->pack($extensionKey, $directory, $comment)
);

And as CLI command:, (*5)

ter-client upload ext_key /path/to/extension -u myusername -p mypassword -m "Upload Comment"

Version Deleter (admins only)

As component:, (*6)

$deleter = new Deleter(Connection::create($wsdUrl));
$result = $deleter->deleteExtensionVersion($extensionKey, $version, $username, $password);

And as CLI command:, (*7)

ter-client remove-version extensionkey 1.2.3 -u myusername -p mypassword

The Versions

20/07 2018

dev-master

9999999-dev

Client for interacting with the official TYPO3 Extension Repository (TER). Contains API Symfony Commands

  Sources   Download

MIT

The Requires

 

The Development Requires

24/08 2017

v0.1.0

0.1.0.0

Client for interacting with the official TYPO3 Extension Repository (TER). Contains API Symfony Commands

  Sources   Download

MIT

The Requires

 

The Development Requires