PHPackages                             smskin/clico - 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. [CLI &amp; Console](/categories/cli)
4. /
5. smskin/clico

ActiveLibrary[CLI &amp; Console](/categories/cli)

smskin/clico
============

PHP interface for cli.co url shorter service

0.0.1(5y ago)0528MITPHPPHP &gt;=7.2

Since Oct 16Pushed 5y ago1 watchersCompare

[ Source](https://github.com/smskin/clico)[ Packagist](https://packagist.org/packages/smskin/clico)[ RSS](/packages/smskin-clico/feed)WikiDiscussions main Synced 1w ago

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

Support library for cli.co url shorter service
==============================================

[](#support-library-for-clico-url-shorter-service)

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

[](#installation)

### Laravel

[](#laravel)

- composer require smskin/clico
- add lines to the config/services.php

```
'clico' => [
    'api_token'=>env('CLICO_API_TOKEN','')
]

```

- add CLICO\_API\_TOKEN to .env file

```
CLICO_API_TOKEN=[API TOKEN]

```

- You can use the CliCo facade

```
try {
    $link = CliCo::singleLink(
	    (new LinkRequest())
            ->setTargetUrl('https://msk.wed-expert.com')
            ->setUtm(
                (new UtmModel())
                    ->setPhone('7911111111111')
                )
            );
} catch (HttpException $exception){
	dd($exception);
} catch (ValidationException $exception){
    dd($exception);
}

```

### Any PHP service

[](#any-php-service)

- composer require smskin/clico
- You can use the library as any class

```
try {
    $link = (new CliCo(
        '[API TOKEN]'
    ))->singleLink(
        (new LinkRequest())
            ->setTargetUrl('https://msk.wed-expert.com')
            ->setUtm(
                (new UtmModel())
                    ->setPhone('7911111111111')
                )
            );
} catch (HttpException $exception){
    dd($exception);
} catch (ValidationException $exception){
    dd($exception);
}

```

Using
-----

[](#using)

- singleLink
- multipleLinks

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

2039d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/92de9daad6e0c4ef7b8b4fa112373401ae79ac02d185653724ca4ac425add1b7?d=identicon)[smskin](/maintainers/smskin)

---

Top Contributors

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

---

Tags

urllaravelshortercli.co

### Embed Badge

![Health badge](/badges/smskin-clico/health.svg)

```
[![Health](https://phpackages.com/badges/smskin-clico/health.svg)](https://phpackages.com/packages/smskin-clico)
```

PHPackages © 2026

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