PHPackages                             codeportal/php-url-shortner - 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. codeportal/php-url-shortner

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

codeportal/php-url-shortner
===========================

Url Shortener for Laravel. We're using cdpt.in platform to shorten your URLs. As this is open source, you don't need any kind of API key to shorten your URL.

v1.0.3(4y ago)011MITPHP

Since Jun 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/harshdoshi999/php-url-shortner)[ Packagist](https://packagist.org/packages/codeportal/php-url-shortner)[ Docs](https://cdpt.in)[ RSS](/packages/codeportal-php-url-shortner/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

About Project
-------------

[](#about-project)

```
This is a URL shortner for PHP and Laravel framework.
This package uses cdpt.in platform to shorten your URLs as this platform is open source and don't need any kind of API key.
```

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

[](#installation)

```
composer require codeportal/php-url-shortner
```

Usage
-----

[](#usage)

```
use CodePortal\UrlShortener\UrlShortener;
$result = UrlShortener::shorten('http://codeportal.in');
// $result contains shorten URL.
```

Author Contact Details
----------------------

[](#author-contact-details)

```
Mail: harshdoshi999@gmail.com
Skype: https://join.skype.com/invite/m5VyeVIlwdYX
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Every ~0 days

Total

4

Last Release

1793d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/09c080e01214c68197fcf8b9bb2f38a24fb4667a5568478c657fb4775d7813cc?d=identicon)[harshdoshi999](/maintainers/harshdoshi999)

---

Top Contributors

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

---

Tags

urllaravelshortenerurl shortenerurl shortcodeportal

### Embed Badge

![Health badge](/badges/codeportal-php-url-shortner/health.svg)

```
[![Health](https://phpackages.com/badges/codeportal-php-url-shortner/health.svg)](https://phpackages.com/packages/codeportal-php-url-shortner)
```

###  Alternatives

[yourls/yourls

Your Own URL Shortener

11.9k27.7k1](/packages/yourls-yourls)[waavi/url-shortener

Url Shortener for Laravel 5 with support for Google and Bitly drivers.

64178.1k](/packages/waavi-url-shortener)[laracrafts/laravel-url-shortener

Powerful URL shortening tools in Laravel

97110.7k](/packages/laracrafts-laravel-url-shortener)[gallib/laravel-short-url

A Laravel package to shorten urls

16516.4k](/packages/gallib-laravel-short-url)[cybercog/laravel-optimus

An Optimus bridge for Laravel. Id obfuscation based on Knuth's multiplicative hashing method.

192564.1k](/packages/cybercog-laravel-optimus)[vinelab/url-shortener

URL shortening the easy way.

6217.2k](/packages/vinelab-url-shortener)

PHPackages © 2026

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