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

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

timneutkens/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)054.1k↓33.3%2[1 PRs](https://github.com/timneutkens/magento2-module-enquire-js/pulls)MITPHP

Since Aug 5Pushed 3y agoCompare

[ Source](https://github.com/timneutkens/magento2-module-enquire-js)[ Packagist](https://packagist.org/packages/timneutkens/magento2-module-enquire-js)[ RSS](/packages/timneutkens-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

Community12

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

1252d ago

Major Versions

1.0.0 → 2.1.22016-08-06

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/5bc55310e500d0aa2131aa1c80a51f50d8507cbcdf835c2592fea497fe18de87?d=identicon)[timneutkens](/maintainers/timneutkens)

---

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/timneutkens-magento2-module-enquire-js/health.svg)

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

###  Alternatives

[phalcon/zephir

Zephir is a compiled high level language aimed to the creation of C-extensions for PHP

3.4k414.1k18](/packages/phalcon-zephir)[code-tool/jaeger-client-php

35520.8k9](/packages/code-tool-jaeger-client-php)[rafaelfragoso/haversini-formula

This PHP class can replace the Google Distance Matrix to calculate the distance between two points using latitude and longitude. It will prevent you to do massive requests to Google servers and enhance your service performance.

45212.0k](/packages/rafaelfragoso-haversini-formula)

PHPackages © 2026

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