PHPackages                             nddcoder/tinyurl-php-sdk - 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. nddcoder/tinyurl-php-sdk

ActiveLibrary

nddcoder/tinyurl-php-sdk
========================

1.0.0(5y ago)015MITPHPPHP ^7.4|^8.0CI failing

Since Dec 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dangdungcntt/tinyurl-php-sdk)[ Packagist](https://packagist.org/packages/nddcoder/tinyurl-php-sdk)[ Docs](https://github.com/dangdungcntt/tinyurl-php-sdk)[ RSS](/packages/nddcoder-tinyurl-php-sdk/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

tinyurl-php-sdk
===============

[](#tinyurl-php-sdk)

[![Latest Version on Packagist](https://camo.githubusercontent.com/074c96d09dc7d92e7f4e523a173d9f8a6ae63b7807102cec36e067c619d30a66/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6464636f6465722f74696e7975726c2d7068702d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nddcoder/tinyurl-php-sdk)[![GitHub Tests Action Status](https://camo.githubusercontent.com/627254ef25460fe8f694bbdcce541ad7b2a98adb9cbbae36df8db1d5a1f5c22d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f64616e6764756e67636e74742f74696e7975726c2d7068702d73646b2f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/dangdungcntt/tinyurl-php-sdk/actions?query=workflow%3ATests+branch%3Amaster)[![Total Downloads](https://camo.githubusercontent.com/c7a0e056b6152413b0d9dccf950d1d4fdb3e37ead05914025222bc89125acdd3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6464636f6465722f74696e7975726c2d7068702d73646b2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nddcoder/tinyurl-php-sdk)

The simple wrapper for TinyURL api.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require nddcoder/tinyurl-php-sdk
```

Usage
-----

[](#usage)

Short URL

```
$shortedUrl = Nddcoder\TinyURL\TinyURL::create('https://nddcoder.com');
echo $shortedUrl; //https://tinyurl.com/ufvltuz
```

Preview Shorted URL

```
$targetUrl = Nddcoder\TinyURL\TinyURL::preview('https://tinyurl.com/ufvltuz');
echo $targetUrl; //https://nddcoder.com
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Dung Nguyen Dang](https://github.com/dangdungcntt)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

1972d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/108944439?v=4)[nddzee](/maintainers/nddcoder)[@nddcoder](https://github.com/nddcoder)

---

Top Contributors

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

---

Tags

nddcodertinyurl-php-sdk

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nddcoder-tinyurl-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/nddcoder-tinyurl-php-sdk/health.svg)](https://phpackages.com/packages/nddcoder-tinyurl-php-sdk)
```

PHPackages © 2026

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