PHPackages                             karnbrockgmbh/yii2-modal-ajax - 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. karnbrockgmbh/yii2-modal-ajax

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

karnbrockgmbh/yii2-modal-ajax
=============================

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

v1.0.0(10y ago)135.9k8[4 issues](https://github.com/karnbrockgmbh/yii2-modal-ajax/issues)[3 PRs](https://github.com/karnbrockgmbh/yii2-modal-ajax/pulls)MITJavaScript

Since Dec 7Pushed 9y ago3 watchersCompare

[ Source](https://github.com/karnbrockgmbh/yii2-modal-ajax)[ Packagist](https://packagist.org/packages/karnbrockgmbh/yii2-modal-ajax)[ Docs](https://github.com/karnbrockgmbh/yii2-modal-ajax)[ RSS](/packages/karnbrockgmbh-yii2-modal-ajax/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

yii2-modal-ajax
===============

[](#yii2-modal-ajax)

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

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

[](#installation)

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

Either run

```
$ php composer.phar require --prefer-dist karnbrockgmbh/yii2-modal-ajax "@dev"
```

or add

```
"karnbrockgmbh/yii2-modal-ajax": "@dev"

```

to the require section of your composer.json file.

Usage
-----

[](#usage)

### Controller

[](#controller)

Extend your basic logic with ajax render and save capabilities:

```
