2017 © Pedro Peláez
 

library googl-php

Fork of sebi/googl-php.

image

martyix/googl-php

Fork of sebi/googl-php.

  • Tuesday, August 12, 2014
  • by MartyIX
  • Repository
  • 1 Watchers
  • 1 Stars
  • 553 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 42 Forks
  • 0 Open issues
  • 4 Versions
  • 1 % Grown

The README.md

googl-php

, (*1)

Introduction

googl-php is a small and simple PHP class intended to use with the Google URL shortening service "Goo.gl" and licensed under the GNU GPL v3., (*2)

Functions

The class currently supports 2 methods: * Shorten a URL * Expand (look up) an already shortened URL, (*3)

Usage

<?php 

require_once('Googl.class.php');

$googl = new Googl('YOUR_API_KEY');

// Shorten URL
$googl->shorten('http://www.google.com/');

// Look up long URL
$googl->expand('http://goo.gl/fbsS');

unset($googl);

API key

You don't need an API key to use the class (=the shortening service)., (*4)

But as Google writes in their own "Getting Started" guide, it's "highly recommended" to use one. And clicking a button doesn't really hurt, right?, (*5)

Further info

For further information about Goo.gl and its API, please visit: https://developers.google.com/url-shortener/., (*6)

The Versions

12/08 2014

dev-master

9999999-dev

Fork of sebi/googl-php.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3

 

url shortener

12/08 2014

v1.0.2

1.0.2.0

Fork of sebi/googl-php.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3

 

url shortener

12/08 2014

v1.0.1

1.0.1.0

Fork of sebi/googl-php.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3

 

url shortener

12/08 2014

v1.0

1.0.0.0

Fork of sebi/googl-php.

  Sources   Download

GPL-3.0

The Requires

  • php >=5.3

 

url shortener