pixelvide/laravel-url-shortener

Pixelvide URL Shortener

Installs: 15 534

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 3

Open Issues: 1

Type:package

pkg:composer/pixelvide/laravel-url-shortener

2.1.0 2022-08-10 08:55 UTC

This package is auto-updated.

Last update: 2025-10-10 15:48:24 UTC


README

This package allows us to shorter the url easily using multiple ways i.e.

[x] AWS Based Functionless URL Shortener

Installation

require this package with composer:

composer require pixelvide/laravel-url-shortener

Add following keys in .env file

key value
SHORTENER_API_URL apigateway url

After installing URL Shortener, you can short urls

  1. Using AWS Functionless URL Shortener.
$url = 'https://www.pixelvide.com';
$awsShortUrl = new \Pixelvide\UrlShortener\AwsShortUrl($url);
$url = new \Pixelvide\UrlShortener\Url;
$shortUrl = $url->shorten($awsShortUrl);