PHPackages                             nf/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nf/slider

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nf/slider
=========

Slider for NF Theme

2.0.0(7y ago)018MITCSS

Since Feb 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nf-theme/slider)[ Packagist](https://packagist.org/packages/nf/slider)[ RSS](/packages/nf-slider/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (10)Used By (0)

Slider package
==============

[](#slider-package)

> It's an extension kit for our theme

Before Installation
-------------------

[](#before-installation)

##### Step 1: Install Nf-Theme-Option package

[](#step-1-install-nf-theme-option-package)

> [nf-theme-option](https://github.com/hieu-pv/nf-theme-option)

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

[](#installation)

##### Step 1: Install Through Composer

[](#step-1-install-through-composer)

```
composer require nf/slider-for-nftheme

```

##### Step 2: Add the Service Provider

[](#step-2-add-the-service-provider)

> Open `config/app.php` and register the required service provider.

```
  'providers'  => [
        // .... Others providers
        \NF\Slider\SliderServiceProvider::class
    ],
```

##### Step 3: Register your option scheme

[](#step-3-register-your-option-scheme)

> You can add your option scheme to `functions.php`

All supported type can be found here

- [Size](https://github.com/garungabc/SliderForNftheme/blob/master/src/Abstracts/Size.php)
- [SliderType](https://github.com/garungabc/SliderForNftheme/blob/master/src/Abstracts/SliderType.php)

```
use NF\Slider\Abstracts\Size;
use NF\Slider\Abstracts\SliderType;
use NF\Slider\Facades\SliderManager;

SliderManager::add([
    'name'    => 'Slider Homepage',
    'type'    => SliderType::SLICK,
    'style'   => 'style-1',
    'size'    => Size::SIZE_3X1,
    'fields'  => [
        [
            'label'       => 'Slider',
            'name'        => 'slider',
            'type'        => Input::GALLERY,
            'description' => 'Gallery with meta field, for now we support text and textarea on meta field.',
        ],
    ],
    'options' => [
        'slidesToShow'   => 1,
        'slidesToScroll' => 1,
        'autoplay'       => true,
        'pauseOnHover'   => true,
        'infinite'       => true,
        'dots'           => true,
    ],
]);
```

##### Step 4: Add shortcode

[](#step-4-add-shortcode)

> Automatic create a shortcode name `nf-slider` with a attribute `name` is require:

```
[nf-slider name="{slider name}"]
```

Example:

```
[nf-slider name="Banner homepage"]
```

##### Step 5: Insert shortcode wherever you need

[](#step-5-insert-shortcode-wherever-you-need)

> Very easy

```
do_shortcode("[nf-slider name='Banner homepage']")
```

Last step
---------

[](#last-step)

> {tip} Drink tea and relax !

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 85.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 ~38 days

Recently: every ~73 days

Total

9

Last Release

2720d ago

Major Versions

v1.0.9 → 2.0.02018-12-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/e33d35507ab7b489a96aac40b3cf04b6e653cd3beeac6a2fdd3d35902d98aa9f?d=identicon)[NightFury](/maintainers/NightFury)

---

Top Contributors

[![k62bcntt](https://avatars.githubusercontent.com/u/12668807?v=4)](https://github.com/k62bcntt "k62bcntt (12 commits)")[![garungabc](https://avatars.githubusercontent.com/u/24909843?v=4)](https://github.com/garungabc "garungabc (1 commits)")[![nightfury-est](https://avatars.githubusercontent.com/u/20170474?v=4)](https://github.com/nightfury-est "nightfury-est (1 commits)")

### Embed Badge

![Health badge](/badges/nf-slider/health.svg)

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

PHPackages © 2026

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