PHPackages                             szmnmichalowski/szm-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. [Mail &amp; Notifications](/categories/mail)
4. /
5. szmnmichalowski/szm-noty

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

szmnmichalowski/szm-noty
========================

jQuery plugin to notifications for Zend Framework 2/3

1.0.0(8y ago)06MITPHPPHP ^5.6 || ^7.0

Since Mar 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/szmnmichalowski/SzmNoty)[ Packagist](https://packagist.org/packages/szmnmichalowski/szm-noty)[ Docs](https://github.com/szmnmichalowski/SzmNoty)[ RSS](/packages/szmnmichalowski-szm-noty/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (2)Used By (0)

SzmNoty
-------

[](#szmnoty)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Build Status](https://camo.githubusercontent.com/167fc35f6f768b4b237bb4291b1844256ccbbfde86520f719dc641cbb673b582/68747470733a2f2f7472617669732d63692e6f72672f737a6d6e6d696368616c6f77736b692f537a6d4e6f74792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/szmnmichalowski/SzmNoty)[![Code Coverage](https://camo.githubusercontent.com/9a830949c59c0595ba7c263a6f9de6bd1a11d7fdc4f358d6cf1e4b376e495e57/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f737a6d6e6d696368616c6f77736b692f537a6d4e6f74792f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/szmnmichalowski/SzmNoty/?branch=master)

SzmNoty is a [Zend Framework 2/3](http://framework.zend.com/) view helper integerated with jQyert [Noty](http://ned.im/noty/)) plugin to render notifications from [SzmNotification](https://github.com/szmnmichalowski/SzmNotification) controller plugin.

[![Notifications](https://camo.githubusercontent.com/1437e9ba6bd6f3a661b9b5edf5220393aab40bf1bace424265c433ae2739e57e/687474703a2f2f692e696d6775722e636f6d2f4c5a4e455655452e706e67)](https://camo.githubusercontent.com/1437e9ba6bd6f3a661b9b5edf5220393aab40bf1bace424265c433ae2739e57e/687474703a2f2f692e696d6775722e636f6d2f4c5a4e455655452e706e67)

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

[](#installation)

You can install this module via composer

**1.** Add this project into your composer.json

```
"require": {
    "szmnmichalowski/szm-noty": "dev-master"
}

```

**2.** Update your dependencies

```
$ php composer.phar update

```

**3.** Add module to your **application.config.php**.

```
return array(
    'modules' => array(
        'Zend\Session',
        'SzmNotification' //  'https://cdnjs.cloudflare.com/ajax/libs/jquery-noty/2.4.1/packaged/jquery.noty.packaged.min.js',
        'default_options' => [
            'timeout' => 3000,
            'callback' => [
                'afterShow' => 'function() {
                    console.log("Test!")
                }'
            ]
        ],
        'types' => [
            'info' => [
                'type' => 'info',
            ],
            'success' => [
                'type' => 'success',
                'timeout' => 6000,
            ],
            'warning' => [
                'type' => 'warning'
            ],
            'error' => [
                'type' => 'error'
            ],
        ],
    ]
];

```

`default_options` - Options for all types of notifications. `types` - Options for specific type of notifications (`success` may have different options then `error`)

Full list of options you can find on

Usage
-----

[](#usage)

If you need detailed informations how to add notification in controller visit [SzmNotification](https://github.com/szmnmichalowski/SzmNotification) module.

In controller:

```
    public function indexAction()
    {
        $this->notification()->add('info', 'This is info');
        $this->notification()->add('success', 'This is success');
        $this->notification()->add('warning', 'This is warning');
        $this->notification()->add('error', 'This is error');
        ...
    }

```

Then in your layout or view:

```

```

In result, you should see notifications as on image above

#### Available methods

[](#available-methods)

List of available methods:

- `setIncludeLibrary()` - If `true` then link to noty's library will be attached. Use it if you didn't add path to library manually. Default `false`
- `render(string $type = null, $options = [])` - Render notifications from previous request. If no parameters are provided then it displays all notifications with options provided in config file
- `renderCurrent(string $type = null, $options = [])` - Same as above with one difference. It render notifications added during this request.

###  Health Score

25

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3283d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a6fefe17c3d39a1c8101950cabff9c74e435233df4e38c897708fa0ed6984baa?d=identicon)[szmnmichalowski](/maintainers/szmnmichalowski)

---

Top Contributors

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

---

Tags

extensionjquery-pluginnotyzend-frameworknotificationzendextensionnoty

### Embed Badge

![Health badge](/badges/szmnmichalowski-szm-noty/health.svg)

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

###  Alternatives

[kartik-v/yii2-widget-growl

A widget to generate growl based notifications using bootstrap-growl plugin (sub repo split from yii2-widgets)

384.1M14](/packages/kartik-v-yii2-widget-growl)[kartik-v/yii2-widget-alert

A widget to generate alert based notifications using bootstrap-alert plugin (sub repo split from yii2-widgets)

284.0M22](/packages/kartik-v-yii2-widget-alert)[loveorigami/yii2-notification-wrapper

This module for renders a message from session flash (with ajax, pjax support and etc.)

79198.5k5](/packages/loveorigami-yii2-notification-wrapper)[machour/yii2-notifications

Notifications for your Yii2 app

9135.2k](/packages/machour-yii2-notifications)[odaialali/yii2-toastr

This is the Toastr extension for Yii 2. It encapsulates Toastr plugin in terms of Yii widgets, and makes ajax notification easy to implement.

1485.3k](/packages/odaialali-yii2-toastr)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.3k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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