PHPackages                             ingenerator/showgroup - 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. ingenerator/showgroup

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

ingenerator/showgroup
=====================

jQuery plugin to show/hide elements when a field value is selected

v1.0.0(11y ago)223.4k↓30.6%BSDJavaScript

Since May 5Pushed 7y ago2 watchersCompare

[ Source](https://github.com/ingenerator/showgroup)[ Packagist](https://packagist.org/packages/ingenerator/showgroup)[ Docs](https://github.com/ingenerator/showgroup)[ RSS](/packages/ingenerator-showgroup/feed)WikiDiscussions master Synced 2d ago

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

Showgroup
=========

[](#showgroup)

This is a simple jQuery plugin to show and hide groups of elements - eg on a form.

[![Build Status](https://camo.githubusercontent.com/4635a389abbb4b1c479056693cb7971c4ad759aa007f77374cc9242f32dc6be2/68747470733a2f2f7472617669732d63692e6f72672f696e67656e657261746f722f73686f7767726f75702e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/ingenerator/showgroup)

Dependencies
------------

[](#dependencies)

- jQuery &gt; 1.\*

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

[](#installation)

Vendor the package into your project however you prefer. Include src/showgroup.js in your project's javascript - usually by compiling it in with any other scripts you're using.

Usage
-----

[](#usage)

You can call use showgroup manually:

```

    Vehicle Type

      Car
      Bike
      Van

    Engine Size

    Tyre Pressure

  $('#container').showgroup()>;
  $('#vehicle').on('change', function() {
    $('#container').showgroup($(this).val());
  });

```

You could also implement this with the lazy data-api. Note though that you are then responsible for initialising the visibility of the elements, either in javascript or your server-side code:

```

    Vehicle Type

      Car
      Bike
      Van

    Engine Size

    Tyre Pressure

```

Contributions
-------------

[](#contributions)

Contributions and bugfixes are welcome - just submit a pull request. Please ensure you add new qunit tests to cover your changes.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 63.6% 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

4078d ago

### Community

Maintainers

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

---

Top Contributors

[![acoulton](https://avatars.githubusercontent.com/u/416566?v=4)](https://github.com/acoulton "acoulton (7 commits)")[![craig410](https://avatars.githubusercontent.com/u/1156379?v=4)](https://github.com/craig410 "craig410 (4 commits)")

---

Tags

JSjquery

### Embed Badge

![Health badge](/badges/ingenerator-showgroup/health.svg)

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

###  Alternatives

[yajra/laravel-datatables-oracle

jQuery DataTables API for Laravel

4.9k36.0M373](/packages/yajra-laravel-datatables-oracle)[matthiasmullie/minify

CSS &amp; JavaScript minifier, in PHP. Removes whitespace, strips comments, combines files (incl. @import statements and small assets in CSS files), and optimizes/shortens a few common programming patterns.

2.0k33.1M462](/packages/matthiasmullie-minify)[onokumus/metismenu

A jQuery menu plugin

2.0k271.0k5](/packages/onokumus-metismenu)[yajra/laravel-datatables-html

Laravel DataTables HTML builder plugin

29110.4M49](/packages/yajra-laravel-datatables-html)[yajra/laravel-datatables-editor

Laravel DataTables Editor plugin for Laravel 5.5+.

1196.6M2](/packages/yajra-laravel-datatables-editor)

PHPackages © 2026

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