PHPackages                             chervand/yii-dashboard-modal - 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. chervand/yii-dashboard-modal

ActiveLibrary

chervand/yii-dashboard-modal
============================

013PHP

Since May 21Pushed 11y ago1 watchersCompare

[ Source](https://github.com/chervand/yii-dashboard-modal)[ Packagist](https://packagist.org/packages/chervand/yii-dashboard-modal)[ RSS](/packages/chervand-yii-dashboard-modal/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

```
/** @var YDModalWidget $modal */
$modal = $this->widget('YDModalWidget', [
	'actions' => [
		'edit' => $this->createUrl('modalEdit'),
		'delete' => $this->createUrl('modalDelete'),
	],
]);

```

```
...
'columns' => [
		...
		[
			'type' => 'raw',
			'htmlOptions' => ['class' => 'grid-icon'],
			'value' => function ($model) use ($modal) {
				return $modal->link(
					'',
					$modal->createActionUrl('deleteMenuItem', $model, 'name'),
					['title' => Yii::t('app', 'Delete')]
				);
			}
		],
		...
	],
...

```

```
public function actions()
	{
		return [
			'modalEdit' => [
				'class' => 'YDModalActionEdit',
				'modalView' => 'menu/_modalEdit',
				'formId' => 'form-edit',
				'models' => [
					'model' => [
						'class' => 'Model',
						'pk' => 'id'
					],
				],
				'afterSubmit' => function () {
                    $this->redirect('afterSave');
                }
			],
			'modalDelete' => [
				'class' => 'YDModalActionDelete',
				'modalView' => '_modalDelete',
				'formId' => 'form-delete',
				'models' => [
					'model' => [
						'class' => 'Model',
						'pk' => ['id1', 'id2', 'id3']
					],
				],
				'afterSubmit' => function () {
                    $this->redirect('afterDelete');
                }
			],
		];
	}

```

req YDActiveForm

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/765117f2c9121f6f8cf4c8565f2bda0df8b7bbfb929660f9d94c1715b77e3820?d=identicon)[chervand](/maintainers/chervand)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/chervand-yii-dashboard-modal/health.svg)

```
[![Health](https://phpackages.com/badges/chervand-yii-dashboard-modal/health.svg)](https://phpackages.com/packages/chervand-yii-dashboard-modal)
```

PHPackages © 2026

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