2017 © Pedro Peláez
 

project url-shortener

Url Shortener.

image

fireguard/url-shortener

Url Shortener.

  • Thursday, May 18, 2017
  • by fireguard
  • Repository
  • 1 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

URL Shortener

Installation

This Package can be installed through the composer., (*1)

In order for the package to be automatically added to your composer.json file, run the following command:, (*2)

  composer require fireguard/url-shortener

Or if you prefer, add the following snippet manually:, (*3)

{
  "require": {
    ...
    "fireguard/url-shortener": "^0.1"
  }
}

Usage

Basic instructions for usage., (*4)

Google URL Shortener

Generate Google API Key, (*5)

https://developers.google.com/console/help/generating-dev-keys, (*6)

$google = new GoogleUrlShortener('YOUR_GOOGLE_KEY');
$url = $google->shorten('https://google.com.br/');

ToLy URL Shortener

$toLy = new Fireguard\UrlShortener\ToLyUrlShortener();
$url = $toLy->shorten('https://google.com.br/');

The Versions

18/05 2017

dev-master

9999999-dev

Url Shortener.

  Sources   Download

MIT

The Requires

 

The Development Requires

url shortener shorter

18/05 2017

v0.1.0

0.1.0.0

Url Shortener.

  Sources   Download

MIT

The Requires

 

The Development Requires

url shortener shorter