There is no license information available for the latest version (v1.0.2) of this package.

v1.0.2 2021-03-22 11:29 UTC

This package is auto-updated.

Last update: 2023-03-22 15:45:54 UTC


OpenApi documentation for URL shortener

This PHP package is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.v3.generators.php.PhpClientCodegen


PHP 5.5 and later

Installation & Usage


To install the bindings via Composer, add the following to composer.json:

composer require artox-lab/clck-ru-shortener:~1.0

Getting Started

Please follow the installation procedure and then run the following:

require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new ArtoxLab\ClckRuSDK\Api\DefaultApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
$url = "url_example"; // string | 

try {
    $result = $apiInstance->shorten($url);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->shorten: ', $e->getMessage(), PHP_EOL;

Documentation for API Endpoints

All URIs are relative to

Class Method HTTP request Description
DefaultApi shorten POST /-- shorten url

Documentation For Models

Documentation For Authorization

All endpoints do not require authorization.