cyphp/goo-gl

A small php client to use Google URL shortening service

1.0.0 2017-02-13 04:32 UTC

This package is not auto-updated.

Last update: 2024-11-04 15:46:02 UTC


README

Install

composer require cyphp/goo-gl

Usage

<?php

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

use Cyphp\Goo\Gl\Client;

$client = new Client('TOKEN');

$shortUrl = $client->shorten('http://www.example.com');