PHPackages                             mithun12000/yii2-urlasset - 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. [Templating &amp; Views](/categories/templating)
4. /
5. mithun12000/yii2-urlasset

ActiveYii2-extension[Templating &amp; Views](/categories/templating)

mithun12000/yii2-urlasset
=========================

Url Asset for Yii2 just like AssetBundle except it will work for creating menu for site module dynamically.

1.0.0(11y ago)164421GPLv2PHP

Since Nov 12Pushed 8y ago2 watchersCompare

[ Source](https://github.com/mithun12000/yii2-urlasset)[ Packagist](https://packagist.org/packages/mithun12000/yii2-urlasset)[ RSS](/packages/mithun12000-yii2-urlasset/feed)WikiDiscussions master Synced 5d ago

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

Yii2-UrlAsset
=============

[](#yii2-urlasset)

Url Asset for Yii2 just like AssetBundle except it will work for creating menu for site module dynamically.

Installation
============

[](#installation)

Using `composer`

```
"require": {
	...other dependency...
	"mithun12000/yii2-urlasset":"*"
},

```

Add as extension. Code:

```
'UrlAsset' =>
  [
    'name' => 'UrlAsset',
    'version' => '1.0',
    'alias' =>
    [
      '@yii/UrlAsset/' => [EXTENSION_PATH] '/UrlAsset',
    ],
  ],

```

Configure
=========

[](#configure)

In Layout / view file.

```
use Yii\UrlAsset\component\UrlAsset;
$urls = new UrlAsset(['assetFile'=>'AppUrlAsset']); //default file for search is AppUrlAsset.php with namespace can be configurable.
$urls->registerAll($this);
$urls->setParams($this);

//to get all menu item.
$menuitems = $this->params['urls'];

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

4202d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b0832520e7e2b42e730d815f6b1272d90410f3481883c4392f6cbd3b27d0ece5?d=identicon)[mithun12000](/maintainers/mithun12000)

---

Top Contributors

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

---

Tags

urlhelperviewyii2asset

### Embed Badge

![Health badge](/badges/mithun12000-yii2-urlasset/health.svg)

```
[![Health](https://phpackages.com/badges/mithun12000-yii2-urlasset/health.svg)](https://phpackages.com/packages/mithun12000-yii2-urlasset)
```

###  Alternatives

[rmrevin/yii2-minify-view

Yii2 View component with auto minification css &amp; js in runtime

194302.3k7](/packages/rmrevin-yii2-minify-view)[ogheo/yii2-htmlcompress

Compress HTML output into a single line

20184.4k1](/packages/ogheo-yii2-htmlcompress)[marekpetras/yii2-calendarview-widget

CalendarView widget for Yii 2 Framework.

2229.1k](/packages/marekpetras-yii2-calendarview-widget)[raoul2000/yii2-workflow-view

A simple widget to display your workflows

1638.8k20](/packages/raoul2000-yii2-workflow-view)

PHPackages © 2026

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