Download the PHP package coullworks/module-catalog-infinite-scroll without Composer

On this page you can find all versions of the php package coullworks/module-catalog-infinite-scroll. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package module-catalog-infinite-scroll

Catalog Infinite Scroll

Seamless AJAX infinite scroll & load-more for Magento 2.
Auto-loads the next page of products as shoppers reach the bottom — on category, search, Page Builder, CMS and widget lists — with optional masonry, isotope and packery layouts. Configured entirely from the admin, tuned to protect Core Web Vitals, and self-hosted with zero third-party CDN calls.

latest release Magento 2.4.7–2.4.9 PHP 8.2–8.4 no third-party CDN


Replace clunky numbered pagination with a continuous, app-like browsing experience. Shoppers keep scrolling and products keep loading — no clicks, no full page reloads — which keeps them in the catalogue longer. On narrow screens it switches to a tidy View More button instead of hijacking the scroll.

Why

Most infinite-scroll extensions bolt onto the category page and stop there, pull their JavaScript from public CDNs, and quietly hurt your Largest Contentful Paint by hiding the grid until a layout library boots.

This one is built the opposite way:

Install

Requires Magento Open Source / Adobe Commerce 2.4.7–2.4.9 on PHP 8.2–8.4.

Configure

Stores → Configuration → CoullWorks → Catalog Infinite Scroll. Enable it and the module attaches to your category and search result pages automatically. Every option is per store view.

Setting What it does Default
Enable Infinite Scroll Auto-attach to category & search lists (widgets work regardless). Yes
Load On Scroll Auto-load near the bottom vs. only on the "View More" button. Yes
Scroll Threshold (px) Distance from the bottom at which loading starts. 100
Track Virtual Pageviews Send a page_view to GA4 (gtag) or legacy analytics.js per page. Yes
Update Browser URL Reflect the loaded page in the address bar (History API). Yes
Next Button Selector CSS selector for the pagination "next" link. .pages-item-next .action.next
List Container Selector CSS selector(s) for the list wrapper. Comma-separate for several lists. category & Page Builder grids
Item Selector CSS selector for a single item in the list. .item.product.product-item
Hide Pagination / Pagination Selector Hide the original pager once scroll takes over. Yes
Show End Status / End Status Text Loading spinner + an end-of-list message. Yes / "No more products"
Layout Mode Default grid, or Masonry / Isotope / Packery. Default
Debug Logging Log lifecycle events to the browser console. No

Layout modes

Default keeps your theme's native grid — nothing extra loads. Choose Masonry, Isotope or Packery and the matching library is fetched only then, and the grid fades in once images are measured so items don't jump. The default mode never hides content, so it has no effect on LCP.

Use it on any list (Page Builder, CMS, static blocks)

Add the "Infinite Scroll (CoullWorks)" widget wherever you can insert content:

Point it at the list's Container Selector, Item Selector and Next Button Selector, pick a layout mode, and it runs — no code. Because Magento initialises the component per matched element, one page can host several independent infinite lists.

AJAX layered navigation: if a filter replaces the product list without a full page reload, the module detects the swap and re-initialises on the new list automatically — no theme wiring or extension-specific hooks required.

Wiring it up by hand on a fully custom list The block emits a standard `text/x-magento-init`. To drive an arbitrary list yourself, render the same shape, pointing the component at your selectors: `display_type`: `1` default · `2` masonry · `3` isotope · `4` packery. Works on any nested markup, `
` or `
    `, as long as the container holds repeating items and there's a "next" link to follow.

Performance & Core Web Vitals

How it works

Compatibility

Magento Open Source / Adobe Commerce 2.4.7, 2.4.8, 2.4.9
PHP 8.2, 8.3, 8.4
Themes Luma, Hyvä-adjacent and custom themes (jQuery/RequireJS frontends) — set the selectors to match your markup

Development

CI (GitHub Actions) runs PHP lint across 8.2/8.3/8.4, the Magento 2 coding standard, composer validate and ESLint on every push and PR.

Roadmap

Third-party licenses

The bundled browser libraries keep their own licenses; Infinite Scroll, Isotope and Packery are GPLv3 / commercial. Details and the commercial-licensing note are in THIRD-PARTY-LICENSES.md.

Support

Free and open source. If it saves you time, you can support the work:

Buy Me A Coffee or PayPal — [email protected]

Questions and bugs: open an issue.

License

MIT © CoullWorks


⚓ Powered by CoullWorks
Built in the open by CoullWorks — web & software engineering. coullworks.com


All versions of module-catalog-infinite-scroll with dependencies

PHP Build Version
Package Version
Requires php Version ~8.2.0 || ~8.3.0 || ~8.4.0
ext-json Version *
magento/framework Version >=103.0.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package coullworks/module-catalog-infinite-scroll contains the following files

Loading the files please wait ...