PHPackages                             tomsh-hr/yii2-eruda - 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. tomsh-hr/yii2-eruda

ActiveYii2-extension[CLI &amp; Console](/categories/cli)

tomsh-hr/yii2-eruda
===================

Mobile developer tools based on eruda

1.2.0(7y ago)191MITJavaScript

Since Feb 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/tomsh-hr/yii2-eruda)[ Packagist](https://packagist.org/packages/tomsh-hr/yii2-eruda)[ Docs](https://github.com/tomsh-hr/yii2-eruda)[ RSS](/packages/tomsh-hr-yii2-eruda/feed)WikiDiscussions master Synced yesterday

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

Console for Mobile Browsers based on Eruda.

More info &amp; Demo
--------------------

[](#more-info--demo)

[Visit](https://github.com/liriliri/eruda) Eruda github site.

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

[](#installation)

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

Either run

```
php composer.phar require "tomsh-hr/yii2-eruda:*"

```

or add

```
"tomsh-hr/eruda": "*"

```

to the require section of your composer.json.

Usage
-----

[](#usage)

Put this code in your main template:

```

```

Configuration
-------------

[](#configuration)

To configure eruda js put options in clientOptions like this:

```

```

NOTE: container configuration option accepts element id and not js object like in eruda original configuration. For other configuration options [visit eruda documentation](https://github.com/liriliri/eruda/blob/master/doc/API.md).

### Widget options

[](#widget-options)

NameTypeDesconlyByUrlbooleanLoad eruda script when url parameter is passed. Example urlGetterstringUrl parameter to look. Default 'eruda'onlyInDevbooleanLoad eruda only in development environmentonlyByUrl (default: false)
--------------------------

[](#onlybyurl-default-false)

The JavaScript file size is quite huge(about 100kb gzipped) and therefore not suitable to include in mobile pages. It's recommended to load eruda only when eruda is set to true on url(). Set this to true if you want to load script when url parameter is passed.

urlGetter (default: 'eruda')
----------------------------

[](#urlgetter-default-eruda)

Change url parameter to look for. Ex. put 'console' and than go to url()

onlyInDev (default: false)
--------------------------

[](#onlyindev-default-false)

If you set this to true eruda script will be loaded only in development environment.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90% 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 ~1 days

Total

3

Last Release

2647d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0847878581ad3e2bd6ffec035e454b9942e1f3739b992ef5db2b686240332e07?d=identicon)[tomsh-hr](/maintainers/tomsh-hr)

---

Top Contributors

[![tomsh-hr](https://avatars.githubusercontent.com/u/1643794?v=4)](https://github.com/tomsh-hr "tomsh-hr (9 commits)")[![greener-app](https://avatars.githubusercontent.com/u/60235154?v=4)](https://github.com/greener-app "greener-app (1 commits)")

---

Tags

erudayii2yii2-widgetsconsolemobileyii2assetsdeveloper-toolsyii2-eruda

### Embed Badge

![Health badge](/badges/tomsh-hr-yii2-eruda/health.svg)

```
[![Health](https://phpackages.com/badges/tomsh-hr-yii2-eruda/health.svg)](https://phpackages.com/packages/tomsh-hr-yii2-eruda)
```

###  Alternatives

[samdark/yii2-webshell

A web shell that allows to run yii console commands and create your own commands.

22981.5k1](/packages/samdark-yii2-webshell)[vova07/yii2-console-runner-extension

An extension for running console commands on background in Yii framework.

88202.2k2](/packages/vova07-yii2-console-runner-extension)[toriphes/yii2-console-runner

Runs console command in yii web application

29240.1k](/packages/toriphes-yii2-console-runner)[fedemotta/yii2-cronjob

Yii2 extension to help in the creation of automated console scripts

2233.5k](/packages/fedemotta-yii2-cronjob)

PHPackages © 2026

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