A lightweight PHP URL shortener for creating short, trackable links with custom aliases and QR codes.
- Shorten long URLs
- Custom short codes
- QR code generation
- Click tracking
- Input validation
- Duplicate URL detection
- Responsive UI
- Apache rewrite support
- PHP 7.4+
- MySQL or MariaDB
- Composer
- Apache with mod_rewrite
Clone the repository and install dependencies:
git clone https://github.com/rafidahmed870/my-shortner.git
cd my-shortner
composer install
Configure your environment using .env.example.
Import the database schema from:
config/schema.sql
For XAMPP or WampServer:
- Place the project inside the
htdocsdirectory. - Start Apache and MySQL.
- Open the project in your browser.
- PHP
- MySQL / MariaDB
- Composer
- HTML
- CSS
- JavaScript
- Apache
If you find this project useful, you can support me with a coffee.
BTC: 12dxgVQ3sRFhc4g7M6oydsN2tTMMthJJqS
This project is licensed under the MIT License.