PHPackages                             weprovide/magento2-module-enquire-js - 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. weprovide/magento2-module-enquire-js

AbandonedArchivedMagento2-module[Utility &amp; Helpers](/categories/utility)

weprovide/magento2-module-enquire-js
====================================

Add Enquire.js from CDN as a require.js module shim. With fallback to local version when CDN is offline.

2.1.6.1(3y ago)049.6k↓47.3%2[1 PRs](https://github.com/weprovide/magento2-module-enquire-js/pulls)MITPHP

Since Aug 5Pushed 3y agoCompare

[ Source](https://github.com/weprovide/magento2-module-enquire-js)[ Packagist](https://packagist.org/packages/weprovide/magento2-module-enquire-js)[ RSS](/packages/weprovide-magento2-module-enquire-js/feed)WikiDiscussions master Synced 1mo ago

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

Magento2 Enquire.js
===================

[](#magento2-enquirejs)

Add Enquire.js from CDN as a require.js module shim. With fallback to local version when CDN is offline.

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

[](#installation)

1. `composer require weprovide/magento2-module-enquire-js`
    will install the latest version. If you want a specific Enquire.js version you can use this:
    `composer require weprovide/magento2-module-enquire-js:`
2. Run `bin/magento setup:upgrade`
3. Run `bin/magento setup:static-content:deploy`

### Available versions

[](#available-versions)

- 2.1.2
- 2.1.6

Usage
-----

[](#usage)

For usage examples of enquire.js see the [enquire.js website](http://wicky.nillia.ms/enquire.js/)

```
require(['enquire'], function (enquire) {
  enquire.register("screen and (max-width:1000px)", {

      match : function() {},      // OPTIONAL
                                  // If supplied, triggered when the media query transitions
                                  // *from an unmatched to a matched state*

      unmatch : function() {},    // OPTIONAL
                                  // If supplied, triggered when the media query transitions
                                  // *from a matched state to an unmatched state*.
                                  // Also may be called when handler is unregistered (if destroy is not available)

      setup : function() {},      // OPTIONAL
                                  // If supplied, triggered once immediately upon registration of the handler

      destroy : function() {},    // OPTIONAL
                                  // If supplied, triggered when handler is unregistered. Place cleanup code here

      deferSetup : true           // OPTIONAL, defaults to false
                                  // If set to true, defers execution the setup function
                                  // until the media query is first matched. still triggered just once
  });
});
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~386 days

Recently: every ~470 days

Total

7

Last Release

1258d ago

Major Versions

1.0.0 → 2.1.22016-08-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/80809e7caf8341b1bac3d759e2b159a38b9bdab2deee5b0d4d66de6c83b992d1?d=identicon)[IntractoSupport](/maintainers/IntractoSupport)

![](https://www.gravatar.com/avatar/9e723dd83f374215e85b05fa260826f267bcef0dfb1026246ca1d845ae4f3a39?d=identicon)[JeroenNoten](/maintainers/JeroenNoten)

![](https://www.gravatar.com/avatar/6f1ed5a230a1b7a889ad5bb727fc43f070e2d57ad9f857625226096cbfcc80c7?d=identicon)[aadmathijssen](/maintainers/aadmathijssen)

![](https://www.gravatar.com/avatar/5270be3fd791a1045f0d928c0ca5d801d2c9dac77b83338a8ac877b94c6f7934?d=identicon)[mischabraam](/maintainers/mischabraam)

---

Top Contributors

[![timneutkens](https://avatars.githubusercontent.com/u/6324199?v=4)](https://github.com/timneutkens "timneutkens (3 commits)")[![SanneHoogmans](https://avatars.githubusercontent.com/u/13345489?v=4)](https://github.com/SanneHoogmans "SanneHoogmans (2 commits)")[![timweprovide](https://avatars.githubusercontent.com/u/67999201?v=4)](https://github.com/timweprovide "timweprovide (2 commits)")

### Embed Badge

![Health badge](/badges/weprovide-magento2-module-enquire-js/health.svg)

```
[![Health](https://phpackages.com/badges/weprovide-magento2-module-enquire-js/health.svg)](https://phpackages.com/packages/weprovide-magento2-module-enquire-js)
```

###  Alternatives

[cendekia/nova-setting-tool

An app setting manager tool for laravel nova

4010.5k](/packages/cendekia-nova-setting-tool)[snapshotpl/zf-snap-geoip

MaxMind GeoIP Module for Zend Framework 2

1512.9k](/packages/snapshotpl-zf-snap-geoip)

PHPackages © 2026

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