leadthread/php-google-shortener

Easily shorten URLs in PHP

Installs: 12 540

Dependents: 2

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/leadthread/php-google-shortener

2.0.0 2017-04-20 00:35 UTC

This package is auto-updated.

Last update: 2025-09-17 15:53:14 UTC


README

Latest Version Software License Build Status Scrutinizer Code Quality Code Coverage Dependency Status Total Downloads

Installation

Install via composer - In the terminal:

composer require leadthread/php-google-shortener

Usage

use LeadThread\GoogleShortener\Google;
$c = new Google("token");
$result = $c->shorten("https://www.google.com/");
var_dump($result);
// string(21) "http://goo.gl/1SvUIo8"