PHPackages                             koala-framework/kwc-notification-box - 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. koala-framework/kwc-notification-box

Abandoned → [https://github.com/koala-framework/kwc-policy](/?search=https%3A%2F%2Fgithub.com%2Fkoala-framework%2Fkwc-policy)Library[Utility &amp; Helpers](/categories/utility)

koala-framework/kwc-notification-box
====================================

Policy package with severals components to ease policy links oder notifications

1.1.x-dev(7y ago)1441PHP

Since Jun 7Pushed 7y ago5 watchersCompare

[ Source](https://github.com/koala-framework/kwc-policy)[ Packagist](https://packagist.org/packages/koala-framework/kwc-notification-box)[ Docs](http://www.vivid-planet.com/)[ RSS](/packages/koala-framework-kwc-notification-box/feed)WikiDiscussions 1.0 Synced 2mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

kwc-notification-box
====================

[](#kwc-notification-box)

Notification Box
----------------

[](#notification-box)

Provides a Popup which ca be used to show changes for website users. Disappears when a user closes the box or after 30 days.

Has to be included as a box and made editable:

```
$ret['generators']['notificationBox'] = array(
    'class' => 'Kwf_Component_Generator_Box_Static',
    'component' => 'KwcPolicy_Kwc_NotificationBox_Component',
    'inherit' => true,
    'unique' => true,
);
$ret['editComponents'][] = 'notificationBox';

```

Policy Text
-----------

[](#policy-text)

Provides a component which can be used to assign a centralized text with a link to the policy page.

Has to be included in the Root-Component (no box!) and made editable:

```
$ret['generators']['policyText'] = array(
    'class' => 'Kwf_Component_Generator_Static',
    'component' => 'KwcPolicy_Kwc_PolicyText_Component',
);
$ret['editComponents'][] = 'policyText';

```

- Usage in a non-Frontend-Form-Component: In getTemplateVars() just call the following: ```
    $ret['policyText'] = KwcPolicy_Kwc_PolicyText_Component::getPolicyText($this->getData(), $renderer);

    ```
- Usage in a Field of a Frontend-Form-Component:
    1. Add the field where the text should appear as usual when defining the frontend form but leave the text empty: ```
        $this->add(new Kwf_Form_Field_Checkbox('terms_and_conditions'))
            ->setAllowBlank(false)
            ->setHideLabel(true);

        ```
    2. In getTemplateVars() before calling parent you have to set the Text: ```
        $policyText = KwcPolicy_Kwc_PolicyText_Component::getPolicyText($this->getData(), $renderer);
        $this->getForm()->fields->getByName('terms_and_conditions')
            ->setBoxLabel($policyText);

        ```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.8% 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 ~60 days

Total

2

Last Release

2741d ago

### Community

Maintainers

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

---

Top Contributors

[![lllHuber](https://avatars.githubusercontent.com/u/12497541?v=4)](https://github.com/lllHuber "lllHuber (27 commits)")[![fraxachun](https://avatars.githubusercontent.com/u/1013756?v=4)](https://github.com/fraxachun "fraxachun (9 commits)")[![qrakhen](https://avatars.githubusercontent.com/u/25365980?v=4)](https://github.com/qrakhen "qrakhen (7 commits)")

### Embed Badge

![Health badge](/badges/koala-framework-kwc-notification-box/health.svg)

```
[![Health](https://phpackages.com/badges/koala-framework-kwc-notification-box/health.svg)](https://phpackages.com/packages/koala-framework-kwc-notification-box)
```

PHPackages © 2026

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