locomotivemtl / o6c-client
There is no license information available for the latest version (0.1) of this package.
0.1
2020-05-05 19:12 UTC
Requires
- php: >=7.2
- ext-json: *
- guzzlehttp/guzzle: ^6.5
Requires (Dev)
- phpstan/phpstan: ^0.12.19
- squizlabs/php_codesniffer: ^3.5
This package is auto-updated.
Last update: 2024-12-17 01:49:01 UTC
README
Only 6 characters URL-shortener PHP client.
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'];