PHPackages                             phpwine/winepopup - 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. phpwine/winepopup

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

phpwine/winepopup
=================

App for PHPWine v2.2.0

v1.0(2y ago)0111MITPHPPHP &gt;=8.0

Since Dec 6Pushed 2y agoCompare

[ Source](https://github.com/PHPWine/WinePopup)[ Packagist](https://packagist.org/packages/phpwine/winepopup)[ Docs](https://github.com/PHPWine/WinePopup)[ RSS](/packages/phpwine-winepopup/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

WinePopup
=========

[](#winepopup)

WinePopup a collection snippet for PHPWine v2.2.0 (these features are just added safe to migrate

```
composer require phpwine/winepopup
```

```
  /**
   * --------------------------------------------------------------------------------------------
   * @method accordion
   * --------------------------------------------------------------------------------------------
   * This method is a hook to execute the new instance of accordion
   *
   * $popup = new WinePopUp([
   *   prefix => 'wine_',
   *   popup => [
   *     'months' => [], // means all months by default // [1,2,3,4,5,6,7,8,9,10,11,12], // [1, 2] means january and february
   *     'days'   => [], // all days // [1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31], // [13, 14] // 31 days base on the calendar only in 13 and 14 of the month
   *     'every' =>  '', // means every page load  // Every 6 AM 8 Total of hrs from 1 to 24 means every 8AM
   *     'event' => 'reload',
   *     'close_id' => 'my_id', // id for close icon
   *  ],
   *  hooks => [
   *    \Project\HookA::class // Main contents of Popup
   *  ]
   * ]);
   *
   * OR
   *
   * $popup = new WinePopUp([
   *   prefix => 'wine_',
   *   popup => [
   *    'event' => [
   *      'click' => 'elem_id' // id of elem you will click!
   *   ],
   *   'close_id' => 'my_id', // id for close icon
   *   ],
   *   hooks => [
   *     \Project\HookA::class // Main contents of Popup
   *   ]
   * ]);
   *
   * print $popup->popup();
   *
   * HOOKS:
   *
   * ATTR: @method
   * public function attr_prefix_awssscca() {...}
   *
   * VALUE: @method
   * public function prefix_awssscca() {...}
   *
   * TOP and BOTTOM @function
   * function top_prefix_awssscca() {...}
   * function bottom_prefix_awssscca() {...}
   *
   * @Defined : execute new instance accordion
   * @since: v1.0 doctrine
   * @since: v2.5.0 wine */
```

```
 // ex. PHP Date will popup show
 $post_to = date("m.d.y");
 // Date you schedule < string >
 $schedule = "12.25.23"

 // If condition get true then all html will visible to front end!
 if($schedule == $post_to) {
  print $popup->popup();
 }
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

930d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a6a90f90c3558fee183c4a1ab010977318a0f9af516a28a56a06eb9b2be4a21?d=identicon)[nielsofficeofficial](/maintainers/nielsofficeofficial)

---

Top Contributors

[![nielsoffice](https://avatars.githubusercontent.com/u/67406593?v=4)](https://github.com/nielsoffice "nielsoffice (8 commits)")

---

Tags

popup

### Embed Badge

![Health badge](/badges/phpwine-winepopup/health.svg)

```
[![Health](https://phpackages.com/badges/phpwine-winepopup/health.svg)](https://phpackages.com/packages/phpwine-winepopup)
```

PHPackages © 2026

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