PHPackages                             hryvinskyi/magento2-banner-slider - 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. [Admin Panels](/categories/admin)
4. /
5. hryvinskyi/magento2-banner-slider

ActiveMagento2-module[Admin Panels](/categories/admin)

hryvinskyi/magento2-banner-slider
=================================

Banner Slider core module - business logic and data layer

1.0.4(4mo ago)092↓53.8%4MITPHPPHP ^8.1

Since Jan 31Pushed 4mo agoCompare

[ Source](https://github.com/hryvinskyi/magento2-banner-slider)[ Packagist](https://packagist.org/packages/hryvinskyi/magento2-banner-slider)[ RSS](/packages/hryvinskyi-magento2-banner-slider/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (6)Versions (7)Used By (4)

Magento 2 &amp; Adobe Commerce Banner Slider
============================================

[](#magento-2--adobe-commerce-banner-slider)

Core business logic and data persistence layer for the Banner Slider system.

> **Part of [hryvinskyi/magento2-banner-slider-pack](https://github.com/hryvinskyi/magento2-banner-slider-pack)** - Complete Banner Slider solution for Magento 2

Description
-----------

[](#description)

This module implements all API contracts from BannerSliderApi and provides the database schema, data models, image processing capabilities, and video handling functionality.

Features
--------

[](#features)

- Complete implementation of all API interfaces
- Database schema with 5 optimized tables
- Image processing with WebP and AVIF conversion
- Video provider support (YouTube, Vimeo, Local MP4/WebM)
- Responsive image generation with breakpoint-based cropping
- Automatic default breakpoint creation for new sliders

Database Schema
---------------

[](#database-schema)

### Tables

[](#tables)

TableDescription`hryvinskyi_banner_slider`Main slider storage with carousel configuration`hryvinskyi_banner_slider_banner`Banner content including images, videos, and custom HTML`hryvinskyi_banner_slider_image`Responsive image variants per banner`hryvinskyi_banner_slider_breakpoint`Viewport breakpoints per slider`hryvinskyi_banner_slider_responsive_crop`Image crops per banner/breakpoint combination### Slider Configuration

[](#slider-configuration)

The slider table supports extensive configuration:

- **Animation**: Effect type, auto width/height, loop, lazy loading
- **Autoplay**: Enable autoplay, timeout duration
- **Navigation**: Arrow navigation, dot pagination
- **Responsive**: Responsive mode, items per breakpoint, preload count
- **Visibility**: Date range (from/to), store IDs, customer group IDs

### Banner Types

[](#banner-types)

TypeValueFeaturesImage0Desktop image, responsive variants, alt text, link URLVideo1YouTube/Vimeo URL or local file, aspect ratio, background modeCustom HTML2Full HTML content supportImage Processing
----------------

[](#image-processing)

### WebP Conversion

[](#webp-conversion)

- Uses cwebp binary for optimal compression
- Configurable quality settings (1-100)
- Automatic fallback if binary unavailable

### AVIF Conversion

[](#avif-conversion)

- Modern next-gen image format support
- Configurable quality settings (1-100)
- Smaller file sizes than WebP

### Responsive Crops

[](#responsive-crops)

- Per-breakpoint cropping with precise coordinates
- Source image preservation
- Automatic generation of WebP and AVIF variants

Video Support
-------------

[](#video-support)

### Supported Providers

[](#supported-providers)

ProviderDetectionFeaturesYouTubeyoutube.com, youtu.be URLsIframe embed, background modeVimeovimeo.com URLsIframe embed, background modeLocal MP4.mp4 file extensionNative video elementLocal WebM.webm file extensionNative video element### Video Options

[](#video-options)

- Custom aspect ratio
- Background mode (no controls, autoplay, loop)
- Responsive sizing

Observers
---------

[](#observers)

### CreateDefaultBreakpointsOnSliderSave

[](#createdefaultbreakpointsonslidersave)

Automatically creates default responsive breakpoints when a new slider is saved:

- Desktop (1200px+)
- Tablet (768px - 1199px)
- Mobile (up to 767px)

Dependencies
------------

[](#dependencies)

- PHP 8.1+
- magento/framework
- magento/module-store
- magento/module-customer
- hryvinskyi/magento2-banner-slider-api
- hryvinskyi/image-binaries
- symfony/process ^5.4 || ^6.0 || ^7.0

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

[](#installation)

This module is typically installed as part of the `hryvinskyi/magento2-banner-slider-pack` metapackage:

```
composer require hryvinskyi/magento2-banner-slider-pack
php bin/magento module:enable Hryvinskyi_BannerSlider
php bin/magento setup:upgrade
php bin/magento cache:flush
```

Author
------

[](#author)

**Volodymyr Hryvinskyi**

- Email:

License
-------

[](#license)

MIT

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance74

Regular maintenance activity

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

5

Last Release

143d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9294098?v=4)[Volodymyr Hryvinskyi](/maintainers/hryvinskyi)[@hryvinskyi](https://github.com/hryvinskyi)

---

Top Contributors

[![hryvinskyi](https://avatars.githubusercontent.com/u/9294098?v=4)](https://github.com/hryvinskyi "hryvinskyi (7 commits)")

### Embed Badge

![Health badge](/badges/hryvinskyi-magento2-banner-slider/health.svg)

```
[![Health](https://phpackages.com/badges/hryvinskyi-magento2-banner-slider/health.svg)](https://phpackages.com/packages/hryvinskyi-magento2-banner-slider)
```

###  Alternatives

[mollie/magento2

Mollie Payment Module for Magento 2

1121.8M12](/packages/mollie-magento2)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

1512.6k](/packages/mage-os-module-inventory-reservations-grid)[loki/magento2-admin-components

Admin Panel grids and forms created via Loki Components

173.7k7](/packages/loki-magento2-admin-components)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1010.0k22](/packages/loki-magento2-components)[smile/module-seller

Smile Retailer Suite - Seller Module

13539.8k4](/packages/smile-module-seller)

PHPackages © 2026

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