pixelvide / laravel-url-shortener
Pixelvide URL Shortener
Installs: 13 878
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 3
Open Issues: 1
Type:package
Requires
- php: ^7.3|^8.0
- ext-json: *
- aws/aws-sdk-php: ^3.184
- laravel/framework: ^6.0|^7.0
Requires (Dev)
- orchestra/testbench: ^4|^5
This package is auto-updated.
Last update: 2025-04-10 14:46:03 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);