PHPackages                             phpwine/wineaccordion - 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/wineaccordion

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

phpwine/wineaccordion
=====================

Component for PHPWine v2.5.0

v1.2.3(2y ago)016MITPHPPHP &gt;=8.0

Since Nov 29Pushed 2y agoCompare

[ Source](https://github.com/PHPWine/WineAccordion)[ Packagist](https://packagist.org/packages/phpwine/wineaccordion)[ Docs](https://github.com/PHPWine/WineAccordion)[ RSS](/packages/phpwine-wineaccordion/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)DependenciesVersions (6)Used By (0)

WineAccordion
=============

[](#wineaccordion)

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

```
composer require phpwine/wineaccordion
```

```
  /**
   * --------------------------------------------------------------------------------------------
   * @method accordion
   * --------------------------------------------------------------------------------------------
   * This method is a hook to execute the new instance of accordion
   *
   * $wine = new WineAccordion([
   *  prefix => 'wine_',
   *  icon => [
   *    'position' => 'right', // right or Left you can also top and bottom via css flex : direction
   *    'default'  => '+',     // default
   *    'clicked'  => 'X',     // after clicked icon
   *   ],
   *   accordion => (array) $assoc_array
   * ])
   *
   * $wine->accordion();
   *
   * Make you when you query your data from your Model to Controller it is associated array data to be able to
   * iterrate the value into accordion
   *
   * $assoc_array: This variable is a associated of arrays of data
   * ex.$datas = [
   *   'title'  => 'content',
   *   'menu 2' => 'content 2'
   *
   * ]
   *
   * PREVIEW:
   *
   * 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 */
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

5

Last Release

895d 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 (22 commits)")

---

Tags

accordionaccordion-componentaccordion

### Embed Badge

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

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

###  Alternatives

[lara-zeus/accordion

Zeus Accordion is filamentphp layout component to group components

11122.8k2](/packages/lara-zeus-accordion)

PHPackages © 2026

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