PHPackages                             magefan/module-rocketjavascript - 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. magefan/module-rocketjavascript

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

magefan/module-rocketjavascript
===============================

Move all javascript to the footer on Magento 2 store.

2.2.3(3mo ago)44122.7k↑211.5%9[1 PRs](https://github.com/magefan/module-rocketjavascript/pulls)2PHP

Since Aug 6Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/magefan/module-rocketjavascript)[ Packagist](https://packagist.org/packages/magefan/module-rocketjavascript)[ RSS](/packages/magefan-module-rocketjavascript/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (2)Versions (20)Used By (2)

[Magento 2 Rocket JavaScript Extension](https://magefan.com/rocket-javascript-deferred-javascript) by Magefan
=============================================================================================================

[](#magento-2-rocket-javascript-extension-by-magefan)

[![Total Downloads](https://camo.githubusercontent.com/8b07d197898d2626d97a155bd39215552303034d55c1868817e3d71e553f3a12/68747470733a2f2f706f7365722e707567782e6f72672f6d61676566616e2f6d6f64756c652d726f636b65746a6176617363726970742f646f776e6c6f616473)](https://packagist.org/packages/magefan/module-rocketjavascript)[![Latest Stable Version](https://camo.githubusercontent.com/d887eac375c9d44d0b31eaa126e6d73347fcdbe750f3c12a7c83e942f2e18c3d/68747470733a2f2f706f7365722e707567782e6f72672f6d61676566616e2f6d6f64756c652d726f636b65746a6176617363726970742f762f737461626c65)](https://packagist.org/packages/magefan/module-rocketjavascript)

[![](https://camo.githubusercontent.com/91a06d744cca95178f72768f554e994f93ba1c1740957a13f379be5efa8ab70d/68747470733a2f2f636d2e6d61676566616e2e636f6d2f626c6f672f737570706f72742d756b7261696e652e706e67)](https://savelife.in.ua/en/donate-en/#donate-army-card-monthly)

[![](https://camo.githubusercontent.com/db05aa38c774e1bb774896216b5616ff981666aa71c7959d703cdd113e890e54/68747470733a2f2f6d61676566616e2e636f6d2f6d656469612f777973697779672f6d6164655f696e5f756b7261696e652e6a7067)](https://camo.githubusercontent.com/db05aa38c774e1bb774896216b5616ff981666aa71c7959d703cdd113e890e54/68747470733a2f2f6d61676566616e2e636f6d2f6d656469612f777973697779672f6d6164655f696e5f756b7261696e652e6a7067)

Magento2 Footer JavaScript
--------------------------

[](#magento2-footer-javascript)

Magento2 Deferred JavaScript
----------------------------

[](#magento2-deferred-javascript)

Magento2 Optimized Bundle JavaScript
------------------------------------

[](#magento2-optimized-bundle-javascript)

[![](https://camo.githubusercontent.com/338f37e64d1b24aa57ebf083537ea08596b9f6c8223b210d7da4ea276d62d1d0/68747470733a2f2f636d2e6d61676566616e2e636f6d2f777973697779672f70726f64756374732f646f776e6c6f61642d6d61676566616e2d657874656e73696f6e732e706e67)](https://magefan.com/rocket-javascript-deferred-javascript)

Configuration
-------------

[](#configuration)

- To enable or disable extension please navigate to Magento 2 Admin Panel &gt; Stores &gt; Magefan Extensions &gt; Rocket JavaScript

Requirements
------------

[](#requirements)

- Magento Community Edition 2.1.x-2.4.x or Magento Enterprise Edition 2.1.x-2.4.x

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

[](#installation)

- [Install Rocket JavaScript Extension for Magento 2 via Composer or an archive](https://magefan.com/blog/rocket-javascript-installation)

Get List Of Used JS On A Single Page
------------------------------------

[](#get-list-of-used-js-on-a-single-page)

```
/* Use in browser console */
globalSrc = '';
jQuery('script').each(function(){
if (!jQuery(this).attr('src')) return;
var src = jQuery(this).attr('src');
if (src.indexOf(require.toUrl('')) != -1 && src.indexOf('Magefan_LazyLoad') == -1) {
var src = (src.replace(require.toUrl(''), ''));
globalSrc += "\n" + src;
}
})
console.log(globalSrc);

```

Demo
----

[](#demo)

Try out our open demo and if you like our extension **please give us some star on Github ★**

    Storefront Demo   Admin Panel Demo     [ ![Magneto 2 Rocket JavaScript Extension Storefront Demo](https://camo.githubusercontent.com/0c904ebea75d2bba43892479f73da859ba650295491dad50f6de6b1345e11373/68747470733a2f2f6d61676566616e2e636f6d2f7374617469632f76657273696f6e313532303936393737352f66726f6e74656e642f4d61676566616e2f6e65772f656e5f55532f696d616765732f70726f647563742d7461622d64656d6f2d312e6a7067) ](https://rjs.demo.magefan.top/)   [ ![Magento 2 Rocket JavaScript Extension Admin Panel Demo](https://camo.githubusercontent.com/4c4da4c69db5e21d8d0141a063007573abde0d5a08ce82f18f5fe6329af22142/68747470733a2f2f63732e6d61676566616e2e636f6d2f76657273696f6e313733323131383537392f66726f6e74656e642f4d61676566616e2f6e6578742f656e5f55532f4d61676566616e5f4373734f7074696d697a65722f696d616765732f70726f647563742d7461622d64656d6f2d322e6a7067) ](https://rjs.demo.magefan.top/admin/admin/)     [ view ](https://rjs.demo.magefan.top/)   [ view ](https://rjs.demo.magefan.top/admin/admin/)   Support
-------

[](#support)

If you have any issues, please [contact us](mailto:support@magefan.com)then if you still need help, open a bug report in GitHub's [issue tracker](https://github.com/magefan/module-rocketjavascript/issues).

Please do not use Magento Marketplace's Reviews or (especially) the Q&amp;A for support. There isn't a way for us to reply to reviews and the Q&amp;A moderation is very slow.

License
-------

[](#license)

The code is licensed under [Open Software License ("OSL") v. 3.0](http://opensource.org/licenses/osl-3.0.php).

[Magento Extensions](https://magefan.com/magento-2-extensions) by Magefan
-------------------------------------------------------------------------

[](#magento-extensions-by-magefan)

### Magento 2 SEO Extensions

[](#magento-2-seo-extensions)

- [Magento SEO](https://magefan.com/magento-2-seo-extension)
- [Magento 2 Rich Snippets](https://magefan.com/magento-2-rich-snippets)
- [Magento 2 LLMs TXT Generator](https://magefan.com/magento-2-llms-txt-generator)
- [Magento 2 HTML Sitemap](https://magefan.com/magento-2-html-sitemap-extension)
- [Magento 2 XML Sitemap](https://magefan.com/magento-2-xml-sitemap-extension)
- [Magento 2 Twitter Cards](https://magefan.com/magento-2-twitter-cards-extension)
- [Magento Open Graph Tags](https://magefan.com/magento-2-open-graph-extension-og-tags)

### [Magento 2 Google Extensions](https://magefan.com/magento-2-extensions/google-extensions)

[](#magento-2-google-extensions)

- [Magento Google Tag Manager](https://magefan.com/magento-2-google-tag-manager)
- [Magento 2 Google Analytics 4](https://magefan.com/magento-2-google-analytics-4)
- [Magento Google Shopping Feed](https://magefan.com/magento-2-google-shopping-feed-extension)
- [Magento Google Customer Reviews](https://magefan.com/magento-2-google-customer-reviews)
- [Magento 2 Google Indexing](https://magefan.com/magento-2-google-indexing-api)

### [Magento Speed Optimisation Extensions](https://magefan.com/magento-2-extensions/speed-optimization)

[](#magento-speed-optimisation-extensions)

- [Magento 2 Google Page Speed Optimizer](https://magefan.com/magento-2-google-page-speed-optimizer)
- [Magento 2 WebP Images](https://magefan.com/magento-2-webp-optimized-images)
- [Magento Full Page Cache Extension](https://magefan.com/magento-2-full-page-cache-warmer)
- [Magento 2 Lazy Load Images](https://magefan.com/magento-2-image-lazy-load-extension)

### [Magento Admin Extensions](https://magefan.com/magento-2-extensions/admin-extensions)

[](#magento-admin-extensions)

- [Magento 2 Dynamic Category](https://magefan.com/magento-2-dynamic-categories)
- [Magento 2 Size Chart](https://magefan.com/magento-2-size-chart)
- [Magento 2 Security Extension](https://magefan.com/magento-2-security-extension)
- [Magento 2 Admin Action Log](https://magefan.com/magento-2-admin-action-log)
- [Magento Extended Product Grid](https://magefan.com/magento-2-product-grid-inline-editor)
- [Magento 2 Product Tabs](https://magefan.com/magento-2/extensions/product-tabs)
- [Magento 2 Product Widget](https://magefan.com/magento-2-product-widget)
- [Magento 2 Email Attachments](https://magefan.com/magento-2-email-attachments)
- [Magento 2 Admin View](https://magefan.com/magento-2-admin-view-extension)
- [Magento 2 Email Notifications](https://magefan.com/magento-2-admin-email-notifications)
- [Magento 2 Login As Customer](https://magefan.com/login-as-customer-magento-2-extension)

### [Magento Order Management Extensions](https://magefan.com/magento-2-extensions/order-management)

[](#magento-order-management-extensions)

- [Magento Order Editor](https://magefan.com/magento-2-edit-order-extension)
- Better [Magento 2 Order Grid](https://magefan.com/magento-2-better-order-grid-extension)
- [Magento 2 Guest to Customer](https://magefan.com/magento2-convert-guest-to-customer)
- [Magento POS System](https://magefan.com/magento-pos-system)

### Magento 2 Blog Extensions

[](#magento-2-blog-extensions)

- [Magento 2 Blog Extension](https://magefan.com/magento2-blog-extension)
- [Magento 2 Multi Blog](https://magefan.com/magento-2-multi-blog-extension)

### [Magento Marketing Extensions](https://magefan.com/magento-2-extensions/marketing-automation)

[](#magento-marketing-extensions)

- [Magento 2 Facebook Pixel](https://magefan.com/magento-2-facebook-pixel-extension)
- [Magento TikTok Pixel](https://magefan.com/magento-2-tiktok-pixel)
- [Magento 2 Dynamic Blocks](https://magefan.com/magento-2-cms-display-rules-extension) and Pages
- [Magento 2 Cookie Consent](https://magefan.com/magento-2-cookie-consent)
- [Magento 2 Base Price](https://magefan.com/magento-2-base-price)
- [Magento 2 Price History](https://magefan.com/magento-2-price-history)
- [Magento 2 Mautic Extension](https://magefan.com/magento-2-mautic-extension)
- [Magento 2 YouTube Video](https://magefan.com/magento2-youtube-extension)

### [Magento Promotions Extensions](https://magefan.com/magento-2-extensions/promotions-extensions)

[](#magento-promotions-extensions)

- [Magento 2 Automatic Related Products](https://magefan.com/magento-2-automatic-related-products)
- [Magento 2 Product Labels](https://magefan.com/magento-2-product-labels)
- [Magento 2 Coupon Code Extension](https://magefan.com/magento-2-coupon-code-link)

### [Magento 2 Multi-Language Extensions](https://magefan.com/magento-2-extensions/multi-language-extensions)

[](#magento-2-multi-language-extensions)

- [Magento 2 Hreflang Tags](https://magefan.com/magento2-alternate-hreflang-extension)
- [Magento 2 Currency Switcher](https://magefan.com/magento-2-currency-switcher-auto-currency-by-country)
- [Magento 2 Language Switcher](https://magefan.com/magento-2-auto-language-switcher)
- [Magento 2 Store Switcher](https://magefan.com/magento-2-geoip-switcher-extension)
- [Magento 2 Translation Extension](https://magefan.com/magento-2-translation-extension)

### [Developers Tools](https://magefan.com/magento-2-extensions/developer-tools)

[](#developers-tools)

- [Magento Zero Downtime Deployment](https://magefan.com/blog/magento-2-zero-downtime-deployment)
- [Magento 2 Cron Schedule](https://magefan.com/magento-2-cron-schedule)
- [Magento 2 CLI Extension](https://magefan.com/magento2-cli-extension)
- [Magento 2 Conflict Detector](https://magefan.com/magento2-conflict-detector)

### [Shopify Apps](https://magefan.com/shopify/apps) by Magefan

[](#shopify-apps-by-magefan)

- [Shopify Login As Customer](https://apps.shopify.com/login-as-customer)
- [Shopify Blog](https://apps.shopify.com/magefan-blog)
- [Shopify Persistent Cart](https://apps.shopify.com/magefan-persistent-cart)
- [Shopify Size Chart](https://magefan.com/shopify/apps/size-chart)
- [Shopify Google Indexer](https://magefan.com/shopify/apps/google-indexing)
- [Shopify Product Feeds](https://magefan.com/shopify/apps/product-feed)
- [Shopify Server GTM &amp; GA4](https://magefan.com/shopify/apps/gtm-and-ga4)

### [Magento 2 Services](https://magefan.com/services) by Magefan

[](#magento-2-services-by-magefan)

- [Magento Speed Optimization Service](https://magefan.com/magento-speed-optimization-service)
- [Magent SEO Service](https://magefan.com/magento-2-seo-service)
- [Custom Magento Development](https://magefan.com/custom-development)
- [Magento Installation Service](https://magefan.com/installation-service)

###  Health Score

60

—

FairBetter than 98% of packages

Maintenance88

Actively maintained with recent releases

Popularity44

Moderate usage in the ecosystem

Community22

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 88.7% 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 ~225 days

Recently: every ~213 days

Total

15

Last Release

91d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/48525307?v=4)[Ihor Vansach](/maintainers/IhorVansach)[@ihorvansach](https://github.com/ihorvansach)

---

Top Contributors

[![magefan](https://avatars.githubusercontent.com/u/9151916?v=4)](https://github.com/magefan "magefan (118 commits)")[![ihorvansach](https://avatars.githubusercontent.com/u/48525307?v=4)](https://github.com/ihorvansach "ihorvansach (7 commits)")[![termos008](https://avatars.githubusercontent.com/u/34942603?v=4)](https://github.com/termos008 "termos008 (2 commits)")[![yuriyhamulevych](https://avatars.githubusercontent.com/u/48569882?v=4)](https://github.com/yuriyhamulevych "yuriyhamulevych (2 commits)")[![KozakSerhii](https://avatars.githubusercontent.com/u/55527058?v=4)](https://github.com/KozakSerhii "KozakSerhii (1 commits)")[![bohdan-berezhniy](https://avatars.githubusercontent.com/u/26215478?v=4)](https://github.com/bohdan-berezhniy "bohdan-berezhniy (1 commits)")[![ivanhrytsaim](https://avatars.githubusercontent.com/u/155642341?v=4)](https://github.com/ivanhrytsaim "ivanhrytsaim (1 commits)")[![andriysvyryda](https://avatars.githubusercontent.com/u/53607630?v=4)](https://github.com/andriysvyryda "andriysvyryda (1 commits)")

---

Tags

magefanmagefan-extensionmagentomagento-2magento-2-extensionmagento-2-extension-freemagento-2-modulemagento-extensionmagento-extension-freemagento-modulemagento-module-freemagento-pluginmagento2magento2-extensionmagento2-extension-freemagento2-free-extensionmagento2-modulemagento2-module-freemagento2-plugin

### Embed Badge

![Health badge](/badges/magefan-module-rocketjavascript/health.svg)

```
[![Health](https://phpackages.com/badges/magefan-module-rocketjavascript/health.svg)](https://phpackages.com/packages/magefan-module-rocketjavascript)
```

###  Alternatives

[magefan/module-blog

Implements Blog functionality on Magento 2 store

2702.3M9](/packages/magefan-module-blog)[magefan/module-wysiwyg-advanced

Extend TinyMCE 4 in Magento 2

752.4M1](/packages/magefan-module-wysiwyg-advanced)[magefan/module-lazyload

Images lazyloading on Magento 2 store.

54185.8k3](/packages/magefan-module-lazyload)[magefan/module-google-tag-manager

Magento 2 Google Tag Manager and Google Analytics 4

3499.7k1](/packages/magefan-module-google-tag-manager)[magefan/module-geoip

Allows to get country code by IP

55247.3k1](/packages/magefan-module-geoip)[magefan/module-conflict-detector

Detect extension conflicts

4875.4k2](/packages/magefan-module-conflict-detector)

PHPackages © 2026

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