Skip to content

shlink

API Development

A PHP-based self-hosted URL shortener that lets you serve shortened links under your own domain

PHP Latest v5.0.2 · 1mo ago Security brief →

Features

  • Provides a self‑hosted URL shortening service
  • Supports custom domains for shortened links
  • Offers both CLI commands and a REST API for interaction
  • Runs on PHP with flexible database options (MySQL, PostgreSQL, SQLite, etc.)

Recent releases

View all 3 releases →
v5.0.2 Breaking risk

Minor fixes and improvements.

Full changelog

Changed

  • Nothing

Added

  • Nothing

Removed

  • Nothing

Fixed

  • #2593 Fix long URL being ignored when editing a short URL via short-url:edit console command.

Deprecated

  • Nothing
v5.0.1 Security relevant
Security fixes
  • CVE-2025-15467 patched in Alpine 3.22 Docker images
v5.0.0 Breaking risk
Breaking changes
  • PHP 8.3 support dropped
  • QR code generation removed
  • Multiple command-line syntax changes
Security fixes
  • Disabled automatic trusted proxy detection
  • Improved charset detection for non-UTF-8 titles
Notable features
  • Date-based dynamic rules for redirections
  • Redis unix socket support
  • CSV export for visits

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

About

Stars
5,068
Forks
393
Languages
PHP Dockerfile Shell

Install & Platforms

Install via
docker binary

Community & Support

Beta — feedback welcome: [email protected]