PHPackages                             magenio/magento2-tinyslider - 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. magenio/magento2-tinyslider

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

magenio/magento2-tinyslider
===========================

Magento2 Tiny Slider

1.0.1(5y ago)26.3kMITJavaScript

Since Sep 13Pushed 5y ago2 watchersCompare

[ Source](https://github.com/magenio-it/magento2-tinyslider)[ Packagist](https://packagist.org/packages/magenio/magento2-tinyslider)[ RSS](/packages/magenio-magento2-tinyslider/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Magento2 Tiny-Slider 2 Integration
==================================

[](#magento2-tiny-slider-2-integration)

This module allows you to use Tiny Slider 2 in your Magento frontend.

[![GitHub release](https://camo.githubusercontent.com/c63187ccd6f8f2283221e8c96e25415826cadc34694a080d898c77e9abfc8398/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6d6167656e696f2d69742f6d6167656e746f322d74696e79736c696465722e7376673f6c6162656c3d4d6167656e746f3225323054696e79536c69646572)](https://camo.githubusercontent.com/c63187ccd6f8f2283221e8c96e25415826cadc34694a080d898c77e9abfc8398/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6d6167656e696f2d69742f6d6167656e746f322d74696e79736c696465722e7376673f6c6162656c3d4d6167656e746f3225323054696e79536c69646572)

[![Tiny-slider Release](https://camo.githubusercontent.com/6a097f01b2b4fd7ef6147270e538619d4bd5a5c30d0384b56a8640d5584cd945/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f67616e6c616e7975616e2f74696e792d736c696465722e7376673f6c6162656c3d54696e79253230736c6964657225323076657273696f6e)](https://camo.githubusercontent.com/6a097f01b2b4fd7ef6147270e538619d4bd5a5c30d0384b56a8640d5584cd945/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f67616e6c616e7975616e2f74696e792d736c696465722e7376673f6c6162656c3d54696e79253230736c6964657225323076657273696f6e)

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

[](#requirements)

[![Generic badge](https://camo.githubusercontent.com/45a6bfea24fdb761a2dca069b53c4e37e998acafdeffc33eaa9f920c76663f78/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d25354576322e322e302d726564)](https://camo.githubusercontent.com/45a6bfea24fdb761a2dca069b53c4e37e998acafdeffc33eaa9f920c76663f78/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f2d25354576322e322e302d726564)[![Generic badge](https://camo.githubusercontent.com/0796248857fd2a397eb0dad789a8a83a699039df6abfc832aa149a4202be4fc9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f253230636f6d706f736572253230696e7374616c6c65722d2a2d79656c6c6f77)](https://camo.githubusercontent.com/0796248857fd2a397eb0dad789a8a83a699039df6abfc832aa149a4202be4fc9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4d6167656e746f253230636f6d706f736572253230696e7374616c6c65722d2a2d79656c6c6f77)[![Generic badge](https://camo.githubusercontent.com/7650c16d9ce2a583da979e8026029c1688b87653fb5bd8664ab2ec571bdfcdd5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545372e312d707572706c65)](https://camo.githubusercontent.com/7650c16d9ce2a583da979e8026029c1688b87653fb5bd8664ab2ec571bdfcdd5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545372e312d707572706c65)

INSTALL
-------

[](#install)

- run

```
composer require 'magenio/magento2-tinyslider'
```

or add the following lines into your composer.json:

```
"require":{
    ...
    "magenio/magento2-tinyslider":"^1.0.0"
 }
```

Then run this commands:

```
composer update
bin/magento cache:flush
bin/magento module:enable Magenio_TinySlider
bin/magento setup upgrade
```

USAGE
-----

[](#usage)

### Declarative notation

[](#declarative-notation)

- Using data-mage-init attribute. Example:

```
data-mage-init='{"tinySliderInit":{
        "items": 1,
       "responsive": {
            "640": {
                "edgePadding": 20,
                "items": 2
            },
            "1024": {
                "items": 4
            }
      }
}}'>
```

- Using &lt;script type="text/x-magento-init"&gt; ... &lt;/script&gt; tag. Example:

```

 {
    "": {
        "tinySliderInit": {
            "items": 1,
            "responsive": {
                 "640": {
                     "edgePadding": 20,
                     "items": 2
                 },
                 "1024": {
                     "items": 4
                 }
            }
        }
    }
 }

```

### Imperative notation

[](#imperative-notation)

```

     require([
        'tinySlider'
    ], function () {
         return tns({
               "container": "",
               "items": 1,
               "responsive": {
               "640": {
                   "edgePadding": 20,
                       "items": 2
               },
               "1024": {
                   "items": 4
               }
           }
       });
    });

```

Features and Options
--------------------

[](#features-and-options)

All features and options for Tiny Slider are available on tiny-slider's github page:

[Tiny Slider 2](http://ganlanyuan.github.io/tiny-slider/)

Development
-----------

[](#development)

- For work / contribute to development of tiny-slider or for update the library run

```
npm install
```

or

```
npm update --save
```

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

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 ~17 days

Total

2

Last Release

2102d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/26729230?v=4)[magenio](/maintainers/magenio)[@magenio](https://github.com/magenio)

---

Top Contributors

[![antoniocarboni](https://avatars.githubusercontent.com/u/1431817?v=4)](https://github.com/antoniocarboni "antoniocarboni (2 commits)")

### Embed Badge

![Health badge](/badges/magenio-magento2-tinyslider/health.svg)

```
[![Health](https://phpackages.com/badges/magenio-magento2-tinyslider/health.svg)](https://phpackages.com/packages/magenio-magento2-tinyslider)
```

###  Alternatives

[msp/devtools

223647.7k2](/packages/msp-devtools)[msp/cmsimportexport

76543.1k](/packages/msp-cmsimportexport)[crankycyclops/m2-module-discount-code-url

Allows discount codes to be applied to a browser session automatically via a query string or URL path.

4113.6k](/packages/crankycyclops-m2-module-discount-code-url)[omise/omise-magento

Accept payments on your Magento 2 website with Omise

3419.2k](/packages/omise-omise-magento)[noon/hide-default-store-code

Magento 2 module for hide Default Store Code

2137.9k](/packages/noon-hide-default-store-code)[opengento/composer-registration-plugin

This plugin allows to compile the Magento2 components registrations on composer install/update.

101.7k](/packages/opengento-composer-registration-plugin)

PHPackages © 2026

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