Video
Description
A Laravel package for creating shortened URLs for your web apps
The quickest way to get started with creating a shortened URL is by using the snippet below. The ->make() method returns a ShortURL model that you can grab the shortened URL from.
use AshAllenDesign\ShortURL\Classes\Builder; $shortURLObject = app(Builder::class) ->destinationUrl('https://destination.com') ->make(); $shortURL = $shortURLObject->default_short_url;
Related Content on Laravel Daily
Video
Recent Courses on Laravel Daily
Mobile Apps: React Native vs Flutter vs NativePHP?
8 lessons
55 min
Practical Laravel Security: Packages, Secrets, Supply-Chain Attacks
7 lessons
43 min read
Laravel 13 Starter Kit Teams and Customizations
10 lessons
33 min