2017 © Pedro Peláez
 

library url-shortener

Url Shortener for Laravel 5 with support for Google and Bitly drivers.

image

waavi/url-shortener

Url Shortener for Laravel 5 with support for Google and Bitly drivers.

  • Friday, October 6, 2017
  • by sildraug
  • Repository
  • 2 Watchers
  • 39 Stars
  • 24,406 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 16 Forks
  • 10 Open issues
  • 9 Versions
  • 16 % Grown

The README.md

Laravel 5 url shortener

Latest Version on Packagist Software License Build Status Total Downloads, (*1)

Introduction

URL shortener package that gives a convenient Laravel Facade for mremi/UrlShortener, (*2)

WAAVI is a web development studio based in Madrid, Spain. You can learn more about us at waavi.com, (*3)

Laravel compatibility

Laravel translation
5.1.x 1.0.x
5.2.x 1.0.1 and higher
5.5.x 1.0.7 and higher

Installation and Setup

Require through composer, (*4)

composer require waavi/url-shortener 1.0.x

Or manually edit your composer.json file:, (*5)

"require": {
    "waavi/url-shortener": "1.0.x"
}

In config/app.php, add the following entry to the end of the providers array:, (*6)

Waavi\UrlShortener\UrlShortenerServiceProvider::class,

And the following alias:, (*7)

'UrlShortener' => Waavi\UrlShortener\Facades\UrlShortener::class,

Publish the configuration file, the form view and the language entries:, (*8)

php artisan vendor:publish --provider="Waavi\UrlShortener\UrlShortenerServiceProvider"

Check the config files for the environment variables you need to set for the selected driver., (*9)

Usage

Shorten a url

```php
\UrlShortener::shorten('http://google.com'); // Uses default driver as per config settings
\UrlShortener::driver('bitly')->shorten('http://google.com');
```

Expand a url

```php
\UrlShortener::expand('http://google.com'); // Uses default driver as per config settings
\UrlShortener::driver('bitly')->expand('http://google.com');
```

The Versions

06/10 2017

dev-master

9999999-dev

Url Shortener for Laravel 5 with support for Google and Bitly drivers.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel url url shortener shortener url short waavi

06/10 2017

1.0.7

1.0.7.0

Url Shortener for Laravel 5 with support for Google and Bitly drivers.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel url url shortener shortener url short waavi

10/08 2017

1.0.6

1.0.6.0

Url Shortener for Laravel 5 with support for Google and Bitly drivers.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel url url shortener shortener url short waavi

07/02 2017

1.0.5

1.0.5.0

Url Shortener for Laravel 5 with support for Google and Bitly drivers.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel url url shortener shortener url short waavi

11/08 2016

1.0.4

1.0.4.0

Google Recaptcha for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel url url shortener shortener url short waavi

10/08 2016

1.0.3

1.0.3.0

Google Recaptcha for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel url url shortener shortener url short waavi

09/06 2016

1.0.2

1.0.2.0

Google Recaptcha for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel url url shortener shortener url short waavi

16/03 2016

1.0.1

1.0.1.0

Google Recaptcha for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel url url shortener shortener url short waavi

02/01 2016

1.0

1.0.0.0

Google Recaptcha for Laravel 5

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel url url shortener shortener url short waavi