PHPackages                             dan8551/yii2-remote-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. dan8551/yii2-remote-modal

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

dan8551/yii2-remote-modal
=========================

Yii2 Remote Modal

v2.0.1(5y ago)012BSD-3-ClauseJavaScript

Since Oct 19Pushed 5y agoCompare

[ Source](https://github.com/dan8551/yii2-remote-modal)[ Packagist](https://packagist.org/packages/dan8551/yii2-remote-modal)[ Docs](https://github.com/dan8551/yii2-remote-modal)[ RSS](/packages/dan8551-yii2-remote-modal/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (2)DependenciesVersions (9)Used By (0)

\#Yii2 Remote Modal by dan8551

This extension enables the use of several types of modals in a simplify way and using ajax.

In order to add it to your project you have to download the archive or use the composer tool which is the preferred way.

In your composer.json file add the following line :

`"dan8551/yii2-remote-modal":"*"`

and run `composer update`

\###In Controller

in your controller's actions (that you want to display in a modal), add the following code :

```
public function actionTest()
{
    $request = \Yii::$app->request;
    \Yii::$app->response->format = Response::FORMAT_JSON;
    return [
	    'title'=> "Test Titre",
	    'content'=>"Test content", // for example: $this->renderAjax('view', [
		    	                   //     'model' => $model,
			                       //  ]),
	    'footer'=> Html::button('Close',['class'=>'btn btn-default pull-left','data-dismiss'=>"modal"]).
	    Html::button('Save',['class'=>'btn btn-primary','type'=>"submit"])
    ];
}

```

### In your view

[](#in-your-view)

At the beginning of your file

```
use dan8551\components\modal\RemoteModal;

```

The calling link would be

`Test`

At the end of the view file, add this :

```

```

The available classes in options are :

- slide-right
- stick-up
- fill-in
- slide-up

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 78.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 ~231 days

Recently: every ~399 days

Total

8

Last Release

1877d ago

Major Versions

v0.0.2 → v1.0.12016-11-09

v1.0.3 → v2.02021-03-21

### Community

Maintainers

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

---

Top Contributors

[![xavsio4](https://avatars.githubusercontent.com/u/1721936?v=4)](https://github.com/xavsio4 "xavsio4 (15 commits)")[![pierrelenaerts](https://avatars.githubusercontent.com/u/125752908?v=4)](https://github.com/pierrelenaerts "pierrelenaerts (4 commits)")

---

Tags

yii2modalbootstrap4

### Embed Badge

![Health badge](/badges/dan8551-yii2-remote-modal/health.svg)

```
[![Health](https://phpackages.com/badges/dan8551-yii2-remote-modal/health.svg)](https://phpackages.com/packages/dan8551-yii2-remote-modal)
```

###  Alternatives

[kartik-v/yii2-dialog

An asset bundle for bootstrap3-dialog for Yii 2.0 framework.

496.2M18](/packages/kartik-v-yii2-dialog)[loveorigami/yii2-modal-ajax

A wrapper around Yii2 Bootstrap Modal for using an ActiveForm via AJAX inside

50167.8k2](/packages/loveorigami-yii2-modal-ajax)[karnbrockgmbh/yii2-modal-ajax

A wrapper around Yii2 Bootstrap Modal for using an ActiveForm via AJAX inside

135.9k](/packages/karnbrockgmbh-yii2-modal-ajax)

PHPackages © 2026

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