PHPackages                             deesoft/yii2-client-url - 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. deesoft/yii2-client-url

ActiveYii2-extension

deesoft/yii2-client-url
=======================

Yii2 js url generator

04JavaScript

Since Feb 13Pushed 3mo agoCompare

[ Source](https://github.com/deesoft/yii2-client-url)[ Packagist](https://packagist.org/packages/deesoft/yii2-client-url)[ RSS](/packages/deesoft-yii2-client-url/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 Client Side Url Manager
============================

[](#yii2-client-side-url-manager)

This is the Yii 2 client-side url manager.

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

[](#installation)

The preferred way to install this extension is through [composer](https://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist deesoft/yii2-client-url "*"

```

or add

```
"deesoft/yii2-client-url": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply use it at main layout :

```
dee\clientUrl\Helper::registerJs($this);
```

Create Url
----------

[](#create-url)

Use function `yiiUrl` to generate url from route. It's equivalent with `yii\helpers\Url::to()`.

```
const {yiiUrl} = window;

const url = yiiUrl('product/view', {id: row.id}); // equivalent Url::to(['/product/view', id' => $row->id])
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance55

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity12

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a5ba97416867dd2bff6c4e2fcd0e52f8b1f8bb7521dcef6b734636009ce834e?d=identicon)[mdmunir](/maintainers/mdmunir)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/deesoft-yii2-client-url/health.svg)

```
[![Health](https://phpackages.com/badges/deesoft-yii2-client-url/health.svg)](https://phpackages.com/packages/deesoft-yii2-client-url)
```

PHPackages © 2026

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