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(5y ago)011MITPHP

Since Jun 20Pushed 5y 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 today

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 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

1839d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4927802?v=4)[Harsh Doshi](/maintainers/harshdoshi999)[@harshdoshi999](https://github.com/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

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[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

98112.5k](/packages/laracrafts-laravel-url-shortener)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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