PHPackages                             clickem/url-shortener - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. clickem/url-shortener

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

clickem/url-shortener
=====================

PHP SDK oficial para o encurtador de URLs clickem.me

v1.0.0(1mo ago)04MITPHPPHP ^8.1

Since Jun 11Pushed 1mo agoCompare

[ Source](https://github.com/liviocmachado/clickem)[ Packagist](https://packagist.org/packages/clickem/url-shortener)[ Docs](https://clickem.me)[ RSS](/packages/clickem-url-shortener/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

 [![](https://raw.githubusercontent.com/liviocmachado/clickem/refs/heads/main/logo.png)](https://raw.githubusercontent.com/liviocmachado/clickem/refs/heads/main/logo.png)

Run composer:

```
composer require clickem/url-shortener
```

use Clickem\\UrlShortener\\Clickem;
use Clickem\\UrlShortener\\Exceptions\\ApiException;

$clickem = new Clickem('YOUR-TOKEN');

// Simple shortening
$url = $clickem-&gt;shorten('');
echo $url-&gt;short\_url; //
echo $url-&gt;code; // aB3xY1

// With an expiration date
$url = $clickem-&gt;shorten('', '2025-12-31');

try {
$url = $clickem-&gt;shorten('https://...');
} catch (ApiException $e) {
echo $e-&gt;getStatusCode();
echo $e-&gt;getErrors();
}

// ShortUrl:
echo (string) $url; //

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance90

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

46d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/64313993?v=4)[Livio](/maintainers/liviocmachado)[@liviocmachado](https://github.com/liviocmachado)

---

Top Contributors

[![liviocmachado](https://avatars.githubusercontent.com/u/64313993?v=4)](https://github.com/liviocmachado "liviocmachado (12 commits)")

---

Tags

linkurl shortenerclickemencurtador

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/clickem-url-shortener/health.svg)

```
[![Health](https://phpackages.com/badges/clickem-url-shortener/health.svg)](https://phpackages.com/packages/clickem-url-shortener)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k46](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

293.1k](/packages/eslazarev-wildberries-sdk)[oat-sa/tao-core

TAO core extension

65143.7k124](/packages/oat-sa-tao-core)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
