mikica / shorturl
Turns a long URL into a much shorter one.
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/mikica/shorturl
Requires
- php: >=5.5.0
- guzzle/guzzle: ^3.9
Requires (Dev)
- guzzle/guzzle: ^3.9
This package is auto-updated.
Last update: 2025-09-27 06:17:45 UTC
README
PHP Package - Turns a long URL into a much shorter one.
###Usage
use ShortUrl\UrlService; UrlService::create('http://www.example.com');
Installing ShortUrl
The recommended way to install ShortUrl is through Composer.
# Install Composer curl -sS https://getcomposer.org/installer | php
Next, run the Composer command to install the latest stable version of ShortUrl:
composer.phar require mikica/shorturl
After installing, you need to require Composer's autoloader:
require 'vendor/autoload.php';
You can then later update ShortUrl using composer:
composer.phar update