PHPackages                             easyapprepo/yii-apputil - 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. easyapprepo/yii-apputil

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

easyapprepo/yii-apputil
=======================

Some useful and necessary utilities for Yii applications

v1.1.x-dev(9y ago)017MITPHPPHP &gt;=5.3.0

Since Feb 11Pushed 6y agoCompare

[ Source](https://github.com/easyapprepo/yii-apputil)[ Packagist](https://packagist.org/packages/easyapprepo/yii-apputil)[ Docs](https://github.com/easyapprepo/yii-apputil)[ RSS](/packages/easyapprepo-yii-apputil/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

yii-apputil
===========

[](#yii-apputil)

Some useful and necessary utilities for Yii applications Enjoy :D

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

[](#installation)

- Navigate to /protected folder of you yii 1.x application and require the package

```
    $ cd YiiAppPath/protected
    $ composer require easyapprepo/yii-apputil:"dev-master"
```

- Now, on your application configuration (eg: protected/config/main.php) add the following code to the components section

```
'components'=>array(
...
        'apputil' => array(
            'class' => 'application.vendor.easyapprepo.yii-apputil.AppUtility',
        ),
```

- then, you can use it like this

```
$persianNumber = Yii::app()->apputil->str->EN2PN('123456');
print $persianNumber; // ۱۲۳۴۵۶
```

Methodes
--------

[](#methodes)

\###String Methodes

```
Yii::app()->apputil->str->EN2PN('123456');
//۱۲۳۴۵۶

Yii::app()->apputil->str->PN2EN('۱۲۳۴۵۶');
//123456

Yii::app()->apputil->str->fixPersianString('ولي');
//ولی
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.9% 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

2

Last Release

3426d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/315955?v=4)[patriot](/maintainers/patriot)[@patriot](https://github.com/patriot)

---

Top Contributors

[![easyapprepo](https://avatars.githubusercontent.com/u/25583403?v=4)](https://github.com/easyapprepo "easyapprepo (10 commits)")[![patriotblog](https://avatars.githubusercontent.com/u/3022196?v=4)](https://github.com/patriotblog "patriotblog (1 commits)")

---

Tags

yiiyii-extensionstringdateyiipersianfarsi

### Embed Badge

![Health badge](/badges/easyapprepo-yii-apputil/health.svg)

```
[![Health](https://phpackages.com/badges/easyapprepo-yii-apputil/health.svg)](https://phpackages.com/packages/easyapprepo-yii-apputil)
```

###  Alternatives

[kartik-v/yii2-datecontrol

Date control module allowing separation of formats for View and Model for Yii Framework 2.0

551.5M37](/packages/kartik-v-yii2-datecontrol)[danielstjules/php-pretty-datetime

Generates human-readable strings for PHP DateTime objects

5797.0k](/packages/danielstjules-php-pretty-datetime)[opilo/farsi

Farsi Tools for Dates and Numbers and Strings (with Laravel Validation Support)

313.2k1](/packages/opilo-farsi)[pishran/laravel-persian-string

Convert Arabic/English/etc numbers and characters to Persian numbers and characters in Laravel models.

206.8k](/packages/pishran-laravel-persian-string)[aloko/nova-persian-datepicker

Persian Datepicker for Laravel Nova.

203.6k](/packages/aloko-nova-persian-datepicker)[symfony_persia/symfonyjdate

Jalali (Shamsi) DateTime for Symfony2, Supports year higher than 2038

1010.9k](/packages/symfony-persia-symfonyjdate)

PHPackages © 2026

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