shlinkio/shlink

The definitive self-hosted URL shortener

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 41 minutes ago
Added to GitGenius on September 12th, 2026
Created on April 8th, 2016
Open Issues & Pull Requests: 25 (+0)
GitHub issues: Enabled
Number of forks: 412
Total Stargazers: 5,280 (+0)
Total Subscribers: 19 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 3.7 hours
Mean response time: 42.3 days
90th percentile: 81.1 days
Tracked items: 190

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 64% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. Work labelled "bug" is answered fastest, typically in about 3 hours, while "enhancement" waits about 6 weeks. Only 8% of issues opened in the past year have been closed. Three people close 98% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 22
New in 7 days: 4
Closed in 7 days: 1
Avg open age: 429 days
Stale 30+ days: 16
Stale 90+ days: 13

Recent activity

Opened in 7 days: 4
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 2

Top labels

  • feature (72)
  • bug (47)
  • tech debt (25)
  • enhancement (24)
  • experimental (6)
  • troubleshooting (4)
  • wontfix (4)
  • question (3)

Detailed Description

Shlink is a self-hosted URL shortener that lets you serve shortened URLs under your own domain.

The tool solves the problem of URL management without relying on third-party shortening services. It works by accepting long URLs through a REST API and generating shortened versions that redirect to the original targets. Users can deploy it on their own infrastructure, maintaining full control over their shortened links and the data they generate. The project is built on PHP using the Laminas and Mezzio frameworks, providing a lightweight foundation for the shortening service.

Shlink suits organizations and individuals who want to avoid external dependencies for URL shortening or need to maintain branded short links under their own domain. It works well for teams managing documentation, marketing campaigns, or any scenario where link ownership and privacy matter. The tool supports multiple database backends including MySQL, MariaDB, PostgreSQL, Microsoft SQL Server, and SQLite, making it adaptable to different infrastructure setups. Docker deployment is available as a straightforward option, with configuration handled through environment variables. Self-hosted installation requires PHP 8.4 or 8.5 with specific extensions, and pre-built distribution packages are provided for each supported PHP version to simplify setup.

The project maintains active development with regular updates to support current PHP versions. Releases are automated through GitHub workflows that generate and attach distribution files. The codebase is built on established PHP frameworks and follows standard practices for dependency management through Composer. Documentation is comprehensive and searchable, covering both Docker and self-hosted deployment paths.