PHPackages                             leela/urlshortnerapi - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. leela/urlshortnerapi

ActiveLibrary[API Development](/categories/api)

leela/urlshortnerapi
====================

URL Shortner API

v1.4(10y ago)01.1k—0%1MITPHPPHP &gt;=5.3.0

Since Apr 1Pushed 10y ago1 watchersCompare

[ Source](https://github.com/leelanarasimha/UrlShortnerApi)[ Packagist](https://packagist.org/packages/leela/urlshortnerapi)[ RSS](/packages/leela-urlshortnerapi/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (5)Used By (0)

UrlShortnerApi
==============

[](#urlshortnerapi)

URL Shortner API shortens the url with Google short service and also TinyUrl shortening service.

It takes the long url and converts it into the short url.

Uses Strategy Design Pattern

It also takes the short url and sends the statistics and also the long url.

Begin by installing this package through Composer. Edit your project's `composer.json` file to require`.

```
"require": {
"leela/urlshortnerapi": "1.1"
}

```

Next, update Composer from the Terminal:

```
composer update

```

That's it! You're all set to go.

Usage for tiny url Shorten
--------------------------

[](#usage-for-tiny-url-shorten)

```
