PHPackages                             srnden/yii2-input-alias - 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. srnden/yii2-input-alias

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

srnden/yii2-input-alias
=======================

Yii2 input alias widget.

1.0.1(7y ago)035MITJavaScript

Since Nov 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/srnden/yii2-input-alias)[ Packagist](https://packagist.org/packages/srnden/yii2-input-alias)[ RSS](/packages/srnden-yii2-input-alias/feed)WikiDiscussions master Synced 2w ago

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

Yii2 input alias widget.
========================

[](#yii2-input-alias-widget)

Yii2 input alias widget.

Use [URLify.js](https://github.com/django/django/blob/master/django/contrib/admin/static/admin/js/urlify.js)

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist srnden/yii2-input-alias "~1.0.0"

```

or add

```
"srnden/yii2-input-alias": "~1.0.0"

```

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

Usage
-----

[](#usage)

```
use srnden\inputalias\InputAlias;

echo $form->field($model, 'pagetitle')->textInput();

echo $form->field($model, 'alias')->widget(InputAlias::class, [
   'source' => [$model, 'pagetitle'] // or id or false
]);

echo InputAlias::widget([
   'name' => 'alias'
]);
```

[![Example](./assets/example.gif?raw=true)](./assets/example.gif?raw=true)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

2

Last Release

2769d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f37d57982bcbe37da5db8ccf93154a61d6745f3a2ef8653dabe798b1f70d6f2?d=identicon)[srnden](/maintainers/srnden)

---

Tags

yii2extensionwidget

### Embed Badge

![Health badge](/badges/srnden-yii2-input-alias/health.svg)

```
[![Health](https://phpackages.com/badges/srnden-yii2-input-alias/health.svg)](https://phpackages.com/packages/srnden-yii2-input-alias)
```

###  Alternatives

[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1358.5k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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