PHPackages                             kasparsd/widget-context - 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. kasparsd/widget-context

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

kasparsd/widget-context
=======================

WordPress plugin for showing or hiding widgets on specific posts, pages and sections of a site.

1.3.3(1y ago)4121114[15 issues](https://github.com/kasparsd/widget-context-wporg/issues)[2 PRs](https://github.com/kasparsd/widget-context-wporg/pulls)GPL-2.0-or-laterPHP

Since Jun 5Pushed 1y ago5 watchersCompare

[ Source](https://github.com/kasparsd/widget-context-wporg)[ Packagist](https://packagist.org/packages/kasparsd/widget-context)[ Docs](https://widgetcontext.com)[ RSS](/packages/kasparsd-widget-context/feed)WikiDiscussions develop Synced 3d ago

READMEChangelog (10)Dependencies (10)Versions (12)Used By (0)

Widget Context
==============

[](#widget-context)

[![Lint and Test](https://github.com/kasparsd/widget-context-wporg/actions/workflows/test.yml/badge.svg)](https://github.com/kasparsd/widget-context-wporg/actions/workflows/test.yml)[![Coverage Status](https://camo.githubusercontent.com/926ee8c80d55c383d09c47e5f86071b70aeaaedca9f59368b1d2126cb9223ddb/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6b617370617273642f7769646765742d636f6e746578742d77706f72672f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/kasparsd/widget-context-wporg?branch=master)

Source of the [Widget Context plugin](https://widgetcontext.com) for WordPress.

Install
-------

[](#install)

- Search for "Widget Context" under "Plugins → Add New" in your WordPress dashboard.
- Install as a [Composer](https://packagist.org/packages/kasparsd/widget-context) dependency:

    ```
    composer require kasparsd/widget-context

    ```

Development
-----------

[](#development)

1. Clone the plugin repository:

    ```
    git clone https://github.com/kasparsd/widget-context-wporg.git
    cd widget-context-wporg

    ```
2. Install the development dependencies:

    ```
    npm install

    ```
3. Start the development environment:

    ```
    docker compose up -d

    ```

    which is available at [widgetcontext.localhost](http://widgetcontext.localhost).

Screenshots
-----------

[](#screenshots)

[![Widget Context settings](screenshot-1.png)](screenshot-1.png)

[![Widget Context configuration](screenshot-2.png)](screenshot-2.png)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 94.1% 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 ~284 days

Recently: every ~425 days

Total

9

Last Release

622d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/92bfcd3a8c3a21a033a6484d32c25a40b113ec6891f674336081513d5c98ef76?d=identicon)[kasparsd](/maintainers/kasparsd)

---

Top Contributors

[![kasparsd](https://avatars.githubusercontent.com/u/169055?v=4)](https://github.com/kasparsd "kasparsd (337 commits)")[![thejamescollins](https://avatars.githubusercontent.com/u/108233?v=4)](https://github.com/thejamescollins "thejamescollins (20 commits)")[![tedgeving](https://avatars.githubusercontent.com/u/24211?v=4)](https://github.com/tedgeving "tedgeving (1 commits)")

---

Tags

phpsidebarwidget-contextwordpresswordpress-plugin

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kasparsd-widget-context/health.svg)

```
[![Health](https://phpackages.com/badges/kasparsd-widget-context/health.svg)](https://phpackages.com/packages/kasparsd-widget-context)
```

PHPackages © 2026

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