PHPackages                             efureev/yii2-noty - 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. efureev/yii2-noty

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

efureev/yii2-noty
=================

A Yii2 wrapper widget for the Noty, a noty plugin with jQuery.

0.1.3(9y ago)030MITPHP

Since Sep 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/efureev/yii2-noty)[ Packagist](https://packagist.org/packages/efureev/yii2-noty)[ RSS](/packages/efureev-yii2-noty/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (6)Versions (4)Used By (0)

yii2-noty
=========

[](#yii2-noty)

[![GitHub version](https://camo.githubusercontent.com/dcc72fcbb8df3fe683ecc589c4212b32a3c9f87f3a8e9dab65f2abd3a7daab86/68747470733a2f2f62616467652e667572792e696f2f67682f65667572656576253246796969322d6e6f74792e737667)](https://badge.fury.io/gh/efureev%2Fyii2-noty) [![Build Status](https://camo.githubusercontent.com/9368942f35f7ec520145e4cc5cefcdbbee5c84b7313a7ecc2e14892b512260ad/68747470733a2f2f7472617669732d63692e6f72672f656675726565762f796969322d6e6f74792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/efureev/yii2-noty) [![Dependency Status](https://camo.githubusercontent.com/9f8ccdc7f67a98bfcafb785656a3e2ed3df17ccdfd9fba91ff70c5d3b6019600/68747470733a2f2f67656d6e617369756d2e636f6d2f6261646765732f6769746875622e636f6d2f656675726565762f796969322d6e6f74792e737667)](https://gemnasium.com/github.com/efureev/yii2-noty) [![](https://camo.githubusercontent.com/a991f7543e60b40f95dc925590ed4916ddbdf85c9917c8756e90d40a0c811d56/68747470733a2f2f7265706f73732e6865726f6b756170702e636f6d2f3f706174683d656675726565762f796969322d6e6f7479)](https://camo.githubusercontent.com/a991f7543e60b40f95dc925590ed4916ddbdf85c9917c8756e90d40a0c811d56/68747470733a2f2f7265706f73732e6865726f6b756170702e636f6d2f3f706174683d656675726565762f796969322d6e6f7479) [![Code Climate](https://camo.githubusercontent.com/f9a8ba8ad65f41a6b198a44484ec9de04c0872c5f1d57fefa4989f911fad0658/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f656675726565762f796969322d6e6f74792f6261646765732f6770612e737667)](https://codeclimate.com/github/efureev/yii2-noty) [![Test Coverage](https://camo.githubusercontent.com/714f37db4fb62f751356d84bd0445380e1af59ba6aebb2c91802d3c8c5f586f0/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f656675726565762f796969322d6e6f74792f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/efureev/yii2-noty/coverage)

*Wrapper for *

---

### Install

[](#install)

Either run

```
composer require "efureev/yii2-noty: *"

```

or add

```
"efureev/yii2-noty": "~1",

```

to the require section of your composer.json file.

---

### Methods

[](#methods)

- **alert** - show the alert window

```
// @var string|object
app.msg.alert('Alarma!...');
```

- **info** - show the info window

```
// @var string|object
app.msg.info('Alarma!...');
```

- **error** - show the error window

```
// @var string|object
app.msg.error('Alarma!...');
```

- **success** - show the success window

```
// @var string|object
app.msg.success('Alarma!...');
```

- **warning** - show the warning window

```
// @var string|object
app.msg.warning('Alarma!...');
```

- **confirm** - show the warning window

```
// @var string|object
app.msg.confirm('Alarma!...');
//@var function onOkFn : function on click Ok
//@var function onCancelFn : function on click Cancel
//@var object callbacks : callbacks from noty
app.msg.confirm('Alarma!...',onOkFn, onCancelFn, callbacks);
```

(callbacks)\[\]

---

### Run

[](#run)

### Example 1

[](#example-1)

```
\efureev\noty\NotyWidget::widget();
```

```
app.msg.error('Alarma!');
app.msg.success('You are winner!');
app.msg.success('You are winner!');
```

### Example 2: set Flashes

[](#example-2-set-flashes)

```
app()->session->setFlash('warning', 'Warning.');
app()->session->setFlash('error', 'Error.');
app()->session->setFlash('info', 'Joke.');
```

Tests
=====

[](#tests)

`vendor/bin/phpunit`

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

3575d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62a6e061d1ccab4d5de8dcba717b7634f91e4842b32ca26420b8261c66104bf7?d=identicon)[efureev](/maintainers/efureev)

---

Top Contributors

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

---

Tags

yii2extensionwidgetalertnoty

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/efureev-yii2-noty/health.svg)

```
[![Health](https://phpackages.com/badges/efureev-yii2-noty/health.svg)](https://phpackages.com/packages/efureev-yii2-noty)
```

###  Alternatives

[richardfan1126/yii2-js-register

Yii2 widget to register JS into view

1358.5k7](/packages/richardfan1126-yii2-js-register)

PHPackages © 2026

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