Skip to content
This repository was archived by the owner on Jan 19, 2020. It is now read-only.

dmitrybubyakin/laravel-urls-shortener

Repository files navigation

Laravel Url Shortener

Latest Version GitHub license Build Status Quality Score StyleCI Total Downloads

A simple url shortener for Laravel.

Installation

This package can be installed via composer using this command:

composer require dmitrybubyakin/laravel-urls-shortener

You can publish the migration and the config file with:

php artisan vendor:publish

Add the following in the web.php file:

Shortener::routes();

Usage

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

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages