locomotivemtl/o6c-client

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

Installs: 30

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 11

Forks: 0

Open Issues: 0

pkg:composer/locomotivemtl/o6c-client

0.1 2020-05-05 19:12 UTC

This package is auto-updated.

Last update: 2025-09-17 03:34:45 UTC


README

Only 6 characters URL-shortener PHP client.

See locomotivemtl/o6c-api

How to install

composer require locomotivemtl/o6c-client

Dependencies

  • php 7.3+
  • ext-json
  • guzzlehttp/guzzle

How to use

$client = new \Only6\Client('https://o6c.ca', $username, $password);
$ret = $client->shorten('https://example.com/my-long-url');
echo $ret['short'];