Simple-URL-Shortener

Simple-URL-Shortener

Minimal PHP URL shortener with user history (MySQL or SQLite)

58stars
17forks
Last commit: 4mo ago
Repo age: 11y old
Simple-URL-Shortener screenshot

Simple-URL-Shortener is a small, KISS PHP-based URL shortener that stores links in MySQL or SQLite and provides per-user link history. It aims to be dependency-free and easy to install for simple link shortening needs.

Key Features

  • Lightweight PHP application with no external dependencies beyond PHP and a database
  • Supports MySQL or SQLite backends for storage
  • User accounts with per-user link history and optional comments on links
  • Bookmarklet/shortcut to quickly create short URLs from the browser
  • Works when deployed in a subfolder and includes example configurations for Nginx and Apache
  • Installation script to initialize the database and create the first admin user
  • Secure cookie settings require HTTPS for authentication

Use Cases

  • Internal team or personal URL shortening service for sharing compact links
  • Simple link-tracking and history for individual users or small teams
  • Embedding a minimal shortener in an existing site (subfolder deployment)

Limitations and Considerations

  • The project is no longer actively maintained by the original author; no ongoing feature development or regular updates are guaranteed
  • Authentication relies on secure cookies and requires HTTPS in production environments
  • Feature set is intentionally minimal (no built-in analytics, custom domains, or advanced link management features)

Simple-URL-Shortener is best suited for users who need a tiny, easy-to-run shortener with user history and prefer a minimal, dependency-free codebase. It is not intended as a full-featured commercial link management platform.

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Dub

Dub

Open-source link attribution platform for short links and conversions

22.9k
2.8k
Last commit: 17h ago

Dub is an open-source link attribution platform for branded short links, real-time analytics, conversion tracking, webhooks, and affiliate/referral programs.

Alternative to:
Bitly
Bitly
+9
YOURLS

YOURLS

Self-hosted URL shortener with analytics, API, and plugins

11.8k
2.1k
Last commit: 5d ago

YOURLS is a self-hosted PHP URL shortener with custom short links, a developer API, detailed click analytics, and an extensible plugin architecture.

Alternative to:
Bitly
Bitly
+14
Kutt

Kutt

Modern URL shortener with custom domains, stats, and an API

10.5k
1.4k
Last commit: 1mo ago

Open-source, self-hostable URL shortener with custom domains, link management, private analytics, and a REST API.

Alternative to:
Bitly
Bitly
+11
Sink

Sink

Link shortener with analytics running on Cloudflare

6.1k
4.1k
Last commit: 1mo ago

Sink is a fast, secure link shortener with built-in analytics, custom slugs, link expiration, and serverless deployment on Cloudflare Workers or Pages.

Alternative to:
Bitly
Bitly
+11
Shlink

Shlink

Self-hosted URL shortener with REST API and CLI

4.6k
370
Last commit: 8d ago

PHP-based self-hosted URL shortener for your own domains, with REST API, CLI management, and visit analytics including anonymized stats and geolocation.

Alternative to:
Bitly
Bitly
+11
MicroBin

MicroBin

Secure pastebin for text and file sharing with URL shortening

4k
257
Last commit: 4d ago

MicroBin is a lightweight, secure pastebin for sharing text, files, and short URLs with optional encryption, expiration controls, and raw file serving.

Alternative to:
Pastebin
Pastebin
+17