Download the PHP package mage2kishan/module-hero-slider without Composer

On this page you can find all versions of the php package mage2kishan/module-hero-slider. 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-hero-slider

Magento 2 Hero Slider Extension: Center-Focused Homepage Carousel with Analytics (Hyva + Luma)

Magento 2.4.4 - 2.4.8 PHP 8.1 - 8.4 Hyva + Luma Live Demo & Details Packagist Upwork Top Rated Plus Website

Add a hero carousel to your Magento 2 home page in minutes. Panth Hero Slider shows three slides at once with the active slide enlarged and neighbours peeking from each side. Each slide has its own CTA button, desktop and mobile artwork, click and view analytics, and a sort order you set in the admin. It renders identically on Hyva and Luma with no theme code changes.

Product page: kishansavaliya.com/magento-2-hero-slider.html


Quick Answer

What is Panth Hero Slider? It is a Magento 2 hero slider extension that puts a center-focused carousel on your home page, with three slides visible at once, autoplay, per-slide CTA buttons, and built-in analytics that track views and clicks per slide.

What does it add to my store?

Which themes are supported? Both Hyva and Luma. The slider uses plain CSS and Splide.js with no Tailwind, Alpine, Knockout, or jQuery dependency.

What does it need? Magento 2.4.4 to 2.4.8, PHP 8.1 to 8.4, and the free mage2kishan/module-core package.


Need Custom Magento 2 Development?

Get a free quote for your project in 24 hours for custom modules, Hyva themes, performance work, M1 to M2 migrations, and Adobe Commerce Cloud.

Get a Free Quote

### Kishan Savaliya **Top Rated Plus on Upwork** [![Hire on Upwork](https://img.shields.io/badge/Hire%20on%20Upwork-Top%20Rated%20Plus-14a800?style=for-the-badge&logo=upwork&logoColor=white)](https://www.upwork.com/freelancers/~016dd1767321100e21) 100% Job Success - 10+ Years Magento Experience Adobe Certified - Hyva Specialist ### Panth Infotech Agency **Magento Development Team** [![Visit Agency](https://img.shields.io/badge/Visit%20Agency-Panth%20Infotech-14a800?style=for-the-badge&logo=upwork&logoColor=white)](https://www.upwork.com/agencies/1881421506131960778/) Custom Modules - Theme Design - Migrations Performance - SEO - Adobe Commerce Cloud

Visit our website: kishansavaliya.com  |  Get a quote: kishansavaliya.com/get-quote


Table of Contents


Who Is It For


Key Features

Center-Focused Carousel

Per-Slide Content

Admin Management

Analytics (Built In)

Placement Options

Built to Last


Compatibility

Requirement Versions Supported
Magento Open Source 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8
Adobe Commerce 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8
Adobe Commerce Cloud 2.4.4 to 2.4.8
PHP 8.1.x, 8.2.x, 8.3.x, 8.4.x
Hyva Theme 1.3+
Luma Theme Native support
Required Dependency mage2kishan/module-core (free)

Installation

Composer Installation (Recommended)

Manual Installation via ZIP

  1. Download the latest release from Packagist or from the product page.
  2. Extract it to app/code/Panth/HeroSlider/ in your Magento install.
  3. Make sure Panth_Core is installed too (required dependency).
  4. Run the commands above starting from bin/magento module:enable.

Verify Installation

After install, open:


Configuration

Go to Stores -> Configuration -> Panth Infotech -> Hero Slider.

General

Setting Group Default Description
Enable Hero Slider General Yes Master toggle for the slider.
Autoplay General Yes Disable to require user interaction to advance slides.
Autoplay Interval (ms) General 22000 Time each slide is shown before advancing. Only shown when Autoplay is Yes.
Slides Per Page (Desktop) General 3 Number of slides visible at once on desktop.
Show Arrows (Desktop) General Yes Show previous/next arrows on desktop. Hidden on mobile automatically.
Mobile Breakpoint (px) General 1025 Below this width: 1 slide with pagination dots, no arrows.
Auto-inject on CMS Home Page General Yes Renders the slider inside the home page content container. Disable to place manually.

Analytics

Setting Group Default Description
Track Views and Clicks Analytics Yes Records anonymous view and click counts per slide. No PII stored.
Retention (days) Analytics 365 Stat rows older than this are pruned by the daily cron. Only shown when tracking is Yes.

Managing Sliders and Slides

Sliders

Content -> Panth Infotech -> Hero Slider -> Manage Sliders

A slider is a named group that holds one or more slides. Each slider has:

Slides

Content -> Panth Infotech -> Hero Slider -> Manage Slides

Each slide accepts:


Placing a Slider

Auto-inject on Home Page

With the Auto-inject on CMS Home Page setting enabled, the slider with identifier homepage_hero renders automatically inside the home page content container. No extra steps needed.

CMS Widget

  1. Open any CMS page or block.
  2. Insert widget and choose Panth Hero Slider.
  3. Type the slider's identifier (for example homepage_hero).
  4. Save the page.

Layout XML

The block renders nothing when the slider is disabled, missing, or has no active slides for the current store. Safe to leave in place permanently.


Analytics

Every slide tracks views and clicks anonymously per device class (desktop, tablet, mobile). The data shows up in two places:

The tracking endpoint (POST /panth_heroslider/track/event) is FPC safe with no form_key dependency. It uses navigator.sendBeacon so navigation is never blocked. Events are written via atomic INSERT ... ON DUPLICATE KEY UPDATE to the panth_hero_slider_stat table. No IP address, user agent, or session ID is stored.

A daily cron (runs at 03:23 UTC) prunes rows older than the configured retention window.


FAQ

Does the slider work on Hyva themes?

Yes. The slider uses plain CSS and Splide.js loaded from a CDN, with no Tailwind, Alpine.js, Knockout, or RequireJS dependency. It renders identically on Hyva and Luma.

How do I add a second slider to a category page?

Create a new slider in the admin with a different identifier (for example category_promo), add slides, and place it on the category page using either the CMS widget or layout XML.

Can I show different slides for different store views?

Yes. Each slider is assigned to one or more store views (or All Store Views). Create separate sliders and assign them to the store views you need.

Will the slider slow down my page?

No. Splide.js is loaded lazily after DOMContentLoaded from a CDN, deduped so it only loads once even if multiple sliders are on the same page. The tracking endpoint uses sendBeacon and does not block page navigation.

What image sizes should I use?

Desktop images work well at around 1280 x 720 px. For mobile, a portrait or square crop around 600 x 800 px gives a better result than scaling down a wide desktop image.

Is the analytics data stored with personal data?

No. The tracker records slide ID, date, store ID, event type (view or click), device type, and a count. No IP address, user agent, session ID, or customer ID is stored.

Can I disable analytics and just use the slider?

Yes. Set Track Views and Clicks to No in the Analytics group and the tracking endpoint will not write any rows.

Does it work with Full Page Cache?

Yes. The slider renders on the initial page load and is part of the cached HTML. The analytics tracking endpoint is a separate AJAX call that does not affect FPC.

Does Panth Hero Slider need Panth Core?

Yes. mage2kishan/module-core is a free, required dependency that Composer installs automatically.


Support

Channel Contact
Product Page kishansavaliya.com/magento-2-hero-slider.html
Email [email protected]
Website kishansavaliya.com
WhatsApp +91 84012 70422
GitHub Issues github.com/mage2sk/module-hero-slider/issues
Upwork (Top Rated Plus) Hire Kishan Savaliya
Upwork Agency Panth Infotech

Response time: 1-2 business days.

Need Custom Magento Development?

Looking for custom Magento module development, Hyva theme work, store migrations, or performance tuning? Get a free quote in 24 hours:

Get a Free Quote

Hire on Upwork    Visit Agency    View Product Page


About Panth Infotech

Built and maintained by Kishan Savaliya (kishansavaliya.com), a Top Rated Plus Magento developer on Upwork with 10+ years of eCommerce experience.

Panth Infotech is a Magento 2 development agency that builds high quality, security focused extensions and themes for both Hyva and Luma storefronts. The extension suite covers SEO, performance, checkout, product presentation, customer engagement, and store management, with each module built to MEQP standards and tested across Magento 2.4.4 to 2.4.8.

Browse the full extension catalog on our Magento extensions page or on Packagist.


Quick Links

Resource Link
Product Page magento-2-hero-slider.html
Packagist mage2kishan/module-hero-slider
GitHub mage2sk/module-hero-slider
Website kishansavaliya.com
Free Quote kishansavaliya.com/get-quote
Upwork (Top Rated Plus) Hire Kishan Savaliya
Upwork Agency Panth Infotech
Email [email protected]
WhatsApp +91 84012 70422

Ready to give your home page a hero that converts?
See Hero Slider


SEO Keywords: magento 2 hero slider, magento 2 hero slider extension, magento 2 homepage carousel, magento 2 banner slider, splide slider magento 2, hyva hero slider, hyva homepage slider, luma hero slider, magento 2 center focus carousel, magento 2 homepage slider module, magento 2 full width slider, magento 2 slider with analytics, magento 2 slide click tracking, magento 2 hero banner, magento 2 cms carousel, magento 2.4.8 hero slider, php 8.4 hero slider, mage2kishan hero slider, panth hero slider, panth infotech, hire magento developer, top rated plus upwork, kishan savaliya magento, custom magento development, magento 2 responsive slider, magento 2 hyva carousel


All versions of module-hero-slider with dependencies

PHP Build Version
Package Version
Requires php Version ~8.1.0||~8.2.0||~8.3.0||~8.4.0
magento/framework Version ^103.0
magento/module-backend Version ^102.0
magento/module-cms Version ^104.0
magento/module-store Version ^101.0
magento/module-ui Version ^101.0
mage2kishan/module-core Version ^1.0.17
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 mage2kishan/module-hero-slider contains the following files

Loading the files please wait ...