PHPackages                             cenotia/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. cenotia/yii2-remote-modal

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

cenotia/yii2-remote-modal
=========================

Yii2 Remote Modal

v1.0.3(9y ago)012.8k↓45.4%4[1 issues](https://github.com/Cenotia/yii2-remote-modal/issues)1BSD 3-ClauseJavaScript

Since Oct 19Pushed 8y ago2 watchersCompare

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

READMEChangelog (4)DependenciesVersions (7)Used By (1)

\#Yii2 Remote Modal by cenotia

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 :

`"cenotia/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 cenotia\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

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity67

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 ~4 days

Total

6

Last Release

3516d ago

Major Versions

v0.0.2 → v1.0.12016-11-09

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14309550?v=4)[Pieter Lenaerts ](/maintainers/plenaerts)[@plenaerts](https://github.com/plenaerts)

---

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

modalsyii2-extensionyii2bootstrapmodal

### Embed Badge

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

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

###  Alternatives

[kartik-v/yii2-dialog

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

496.4M19](/packages/kartik-v-yii2-dialog)[loveorigami/yii2-modal-ajax

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

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

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

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

PHPackages © 2026

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