pixelvide / laravel-url-shortener
Pixelvide URL Shortener
Package info
github.com/pixelvide/laravel-url-shortener
Type:package
pkg:composer/pixelvide/laravel-url-shortener
2.2.0
2026-07-07 10:01 UTC
Requires
- php: ^7.3|^8.0
- ext-json: *
- aws/aws-sdk-php: ^3.184
- laravel/framework: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
Requires (Dev)
- orchestra/testbench: ^4|^5
This package is auto-updated.
Last update: 2026-07-07 10:02:25 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
- 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);