BradCypert.com
Building a simple URL Shortener in PHP with Laravel
March 12, 2020

Building a simple URL Shortener in PHP with Laravel

Posted on March 12, 2020  (Last modified on February 5, 2023 )
1 minutes  • 115 words
This project uses these versions of languages, frameworks, and libraries.
  • laravel laravel : 8
  • php php : 7.4
This tutorial may work with newer versions and possibly older versions, but has only been tested on the versions mentioned above.

I’ve recorded a quick Youtube video for you! In this video, we walk through building a simple URL shortener (think bit.ly) in PHP with the Laravel framework.

This originally started as part of my Laravel foundations course (link coming soon) but I felt that we could quickly get through an example on Youtube, too. In the course, we dive into things and go a bit slower to really get a grasp on how everything works, but this less than 30 minute video should get you started down the right path.

If you want to continue building upon this (and adding some JavaScript to the URL Shortener, too), definitely check out the course (link coming soon).

Cartoon headshot of Brad Cypert
Follow me

Connect with me to follow along on my journey in my career, open source, and mentorship. Occasionally, I'll share good advice and content (quality not guaranteed).