Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Short Url

Laravel Short Url Laravel Package

gallib/laravel-short-url

A Laravel package for creating and managing short URLs. Generate compact links, customize URL keys, and redirect visitors through your application. Easily integrate URL shortening into any Laravel app for sharing, tracking, or branded links with a simple, framework-friendly API.

View on GitHub
Deep Wiki
Context7

A Laravel package to shorten urls

Frequently asked questions about Laravel Short Url
What is gallib/laravel-short-url used for?
gallib/laravel-short-url is a Laravel package for creating and managing short URLs. It lets your application generate compact links, customize URL keys, and redirect visitors through your app. It is intended for URL shortening use cases such as sharing, tracking, or branded links.
Does gallib/laravel-short-url support Laravel 9 and PHP 8?
Yes. The 1.9.0 release targets Laravel 9 and PHP 8 or newer. Applications on earlier Laravel or PHP versions should not expect this release to resolve or run correctly.
How do I install gallib/laravel-short-url in a Laravel application?
Install it with Composer in a Laravel 9 application running PHP 8 or newer. After requiring the package, follow its README for configuration, migrations, and any asset or view publication steps. Validate the install in a non-production environment before deploying.
Can I customize the short URL key or slug with gallib/laravel-short-url?
Yes. The package supports custom URL keys so you can control the short link identifier instead of relying only on generated values. Review the package documentation for the exact configuration and validation rules. If you override published views or assets, retest those customizations after upgrades.
How does gallib/laravel-short-url redirect visitors from a short URL?
The package supports redirecting visitors through your Laravel application when a short URL is requested. The exact route, controller, or configuration details depend on the package version and should be confirmed in its documentation. Test redirect behavior in staging, especially after the 1.9.0 design changes.
Is gallib/laravel-short-url 1.9.0 a breaking change even though it is a minor release?
Yes, treat 1.9.0 as effectively breaking despite the minor version number. It removes support for Laravel versions below 9 and PHP versions below 8, which can cause dependency-resolution or runtime failures. If your host application is not upgraded yet, pin the previous package version.
Can I use gallib/laravel-short-url on Laravel 8 or PHP 7?
Not with version 1.9.0, which requires Laravel 9 and PHP 8 or newer. You can keep an older package release pinned while you plan the host application upgrade, but evaluate its maintenance and security posture. The package cannot be adopted independently of the Laravel and PHP platform move.
What should I check before upgrading to gallib/laravel-short-url 1.9.0?
First inventory where the package is used and which Laravel and PHP versions each application runs. Upgrade the host application to Laravel 9 and PHP 8 first, then upgrade the package in staging and review design and dependency diffs. Check for published view or asset changes, clear caches, and run regression tests before progressive deployment.
Why is Composer failing to install or update gallib/laravel-short-url?
Composer failures usually point to PHP or Laravel platform constraints, a transitive dependency conflict, or a lockfile that still targets older versions. Check the package requirements against your full dependency graph and use Composer diagnostics to identify the conflicting package. Upgrade the host stack or pin a compatible package version rather than forcing resolution.
What are my options if I need URL shortening on an older Laravel version?
For older Laravel applications, the safest short-term option is often to pin the previous gallib/laravel-short-url version and defer the 1.9.0 upgrade. Longer term, evaluate other URL-shortening packages or a small in-app implementation that matches your supported Laravel and PHP versions. Confirm maintenance status and test coverage before adopting any replacement.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
shitoudev/permissionmanager
johannesclimacus/laravel-tui
hocvt/seotools
vitalybaev/sypexgeo
amphibee/themosis-ignition
gito-me/fast-excel
frankyso/laravel-ipaymu
geolize-studio/laravel-chile
boomerangui/chat
cgv/localized-resource