2017 © Pedro Peláez
 

library laravel-urls-shortener

A simple url shortener for Laravel

image

dmitrybubyakin/laravel-urls-shortener

A simple url shortener for Laravel

  • Friday, July 27, 2018
  • by dmitrybubyakin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Laravel Url Shortener

Latest Version GitHub license Build Status Quality Score StyleCI Total Downloads, (*1)

A simple url shortener for Laravel., (*2)

Installation

This package can be installed via composer using this command:, (*3)

composer require dmitrybubyakin/laravel-urls-shortener

You can publish the migration and the config file with:, (*4)

php artisan vendor:publish

Add the following in the web.php file:, (*5)

Shortener::routes();

Usage

Shortener::getShortUrl('https://google.com')

// or you can use a helper
shorten('https://google.com')

The Versions