PHPackages                             melisplatform/melis-cms-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. melisplatform/melis-cms-slider

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

melisplatform/melis-cms-slider
==============================

Melis Platform slider module

v5.3.6(3w ago)14.1k↓55.6%3OSL-3.0PHPPHP ^8.1|^8.3

Since May 16Pushed 1w ago7 watchersCompare

[ Source](https://github.com/melisplatform/melis-cms-slider)[ Packagist](https://packagist.org/packages/melisplatform/melis-cms-slider)[ Docs](https://github.com/melisplatform/melis-cms-slider)[ RSS](/packages/melisplatform-melis-cms-slider/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (8)Versions (49)Used By (3)Security (1)

melis-cms-slider
================

[](#melis-cms-slider)

MelisCmsSlider provides a full Slider system for Melis Platform, including templating plugins.

Getting Started
---------------

[](#getting-started)

These instructions will get you a copy of the project up and running on your machine.
This Melis Platform module is made to work with the MelisCore.

### Prerequisites

[](#prerequisites)

You will need to install melisplatform/melis-cms in order to have this module running.
This will automatically be done when using composer.

### Installing

[](#installing)

Run the composer command:

```
composer require melisplatform/melis-cms-slider

```

**[See Full documentation on Melis CMS Slider here](https://www.melistechnology.com/MelisTechnology/resources/documentation/module/melis-cms-slider/PresentationofTheSliderManagemen)**

### Database

[](#database)

Database model is accessible on the MySQL Workbench file:
/melis-cms-slider/install/sql/model
Database will be installed through composer and its hooks.
In case of problems, SQL files are located here:
/melis-cms-slider/install/sql

Tools &amp; Elements provided
-----------------------------

[](#tools--elements-provided)

- Slider Tool
- Melis Templating Slider Plugin (SliderShow)
- News with Sliders when MelisCmsNews Module is installed

Running the code
----------------

[](#running-the-code)

### MelisCmsSlider Services

[](#meliscmsslider-services)

MelisCmsSlider provides many services to be used in other modules:

- MelisCmsNewsService
    Services to retrieve lists of sliders, slider details and save sliders
    File: /melis-cms-slider/src/Service/MelisCmsSliderService.php

```
// Get the service
$sliderService = $this->getServiceManager()->get('MelisCmsSliderService');
// Get slider by id
$data = $sliderService->getSlider($sliderId);

```

### MelisSlider Forms

[](#melisslider-forms)

#### Forms factories

[](#forms-factories)

All Melis CMS Slider forms are built using Form Factories.
All form configuration are available in the file: /melis-cms-slider/config/app.forms.php
Any module can override or add items in this form by building the keys in an array and marge it in the Module.php config creation part.

```
return array(
	'plugins' => array(

		// MelisCmsNews array
		'MelisCmsSlider' => array(

			// Form key
			'forms' => array(

				// MelisCmsNews Properties form
				'MelisTechnologySlider_details_form' => array(
					'attributes' => array(
						'name' => 'sliderDetailsForm',
						'id' => 'sliderDetailsForm',
						'enctype' => "multipart/form-data",
						'method' => 'POST',
						'action' => '',
					),
					'hydrator'  => 'Laminas\Hydrator\ArraySerializableHydrator',
					'elements' => array(
						array(
							'spec' => array(
									...
							),
						),
					),
					'input_filter' => array(
						'mcsdetail_id' => array(
								...
						),
					),
				),
			),
		),
	),
),

```

#### Forms elements

[](#forms-elements)

MelisCmsSlider provides form elements to be used in forms:

- CmsSliderSelect: a dropdown to select a slider

### Listening to services and update behavior with custom code

[](#listening-to-services-and-update-behavior-with-custom-code)

Most services trigger events so that the behavior can be modified.

```
public function attach(EventManagerInterface $events)
{
    $sharedEvents      = $events->getSharedManager();

	$callBackHandler = $sharedEvents->attach(
		'MelisCmsSlider',
		array(
			'meliscmsslider_delete_details_end',
		),
		function($e){

			$sm = $e->getTarget()->getEvent()->getApplication()->getServiceManager()
			$sm = $e->getTarget()->getEvent()->getApplication()->getServiceManager()
    		$params = $e->getParams();

    		// Custom code here

    	},
    100);

    $this->listeners[] = $callBackHandler;
}

```

Authors
-------

[](#authors)

- **Melis Technology** - [www.melistechnology.com](https://www.melistechnology.com/)

See also the list of [contributors](https://github.com/melisplatform/melis-cms-slider/contributors) who participated in this project.

License
-------

[](#license)

This project is licensed under the OSL-3.0 License - see the [LICENSE.md](LICENSE.md) file for details

###  Health Score

61

—

FairBetter than 99% of packages

Maintenance97

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity91

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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

Recently: every ~127 days

Total

31

Last Release

22d ago

Major Versions

v2.5.0 → v3.0.02018-10-17

v3.2.2 → v4.0.02020-08-18

v4.1.0 → v5.0.02022-06-20

PHP version history (5 changes)v2.1PHP ^5.5 || ^7.0

v3.0.0PHP ^7.0

v4.0.0PHP ^7.1.3|^7.2|^7.3

v5.0.0PHP ^7.3|^8.0

v5.1.0PHP ^8.1|^8.3

### Community

Maintainers

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

---

Top Contributors

[![benborla](https://avatars.githubusercontent.com/u/22745294?v=4)](https://github.com/benborla "benborla (30 commits)")[![jzabate](https://avatars.githubusercontent.com/u/39899634?v=4)](https://github.com/jzabate "jzabate (25 commits)")[![rbbrioso28](https://avatars.githubusercontent.com/u/9497212?v=4)](https://github.com/rbbrioso28 "rbbrioso28 (25 commits)")[![sircxes](https://avatars.githubusercontent.com/u/21098160?v=4)](https://github.com/sircxes "sircxes (23 commits)")[![sgris](https://avatars.githubusercontent.com/u/3981660?v=4)](https://github.com/sgris "sgris (22 commits)")[![ksuson](https://avatars.githubusercontent.com/u/31838758?v=4)](https://github.com/ksuson "ksuson (9 commits)")[![mariateresapomar](https://avatars.githubusercontent.com/u/85868605?v=4)](https://github.com/mariateresapomar "mariateresapomar (7 commits)")[![fparan](https://avatars.githubusercontent.com/u/39509647?v=4)](https://github.com/fparan "fparan (6 commits)")[![jamesrepository](https://avatars.githubusercontent.com/u/10151213?v=4)](https://github.com/jamesrepository "jamesrepository (2 commits)")[![jun1432](https://avatars.githubusercontent.com/u/26325630?v=4)](https://github.com/jun1432 "jun1432 (1 commits)")

---

Tags

cmsmodulezf2melis

### Embed Badge

![Health badge](/badges/melisplatform-melis-cms-slider/health.svg)

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

###  Alternatives

[melisplatform/melis-cms

Melis Platform CMS module

105.6k18](/packages/melisplatform-melis-cms)

PHPackages © 2026

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