Shlink
A PHP-based open-source URL shortener that lets you host your own short links under custom domains with detailed visit analytics and geolocation tracking.

Shlink is a self-hosted URL shortener designed to give you full control over your shortened links. Built with PHP and modern technologies like Mezzio, Doctrine, and Symfony, it offers a CLI, REST API, and a progressive web app for managing multiple instances.
Key Features
- Self-hosted: Deploy Shlink on your own infrastructure or use Docker for easy setup.
- Custom domains: Serve shortened URLs under your own domains for brand consistency.
- CLI & REST API: Manage URLs, track visits, and configure domains via command line or API.
- Progressive web app: Intuitive web interface for managing multiple Shlink instances.
- Visit analytics: Collect anonymized visit stats with geolocation data.
- Human-friendly slugs: Customize short URLs with memorable slugs.
- Open source: Distributed under the MIT license with active community support.
Tech / Self-Hosting
Shlink is a PHP application built on Mezzio, Doctrine, and Symfony. It can be self-hosted by downloading a dist file or running the Docker image. The project is actively maintained and welcomes contributions from the community.