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

ActiveMelisplatform-module

melisplatform/melis-engine
==========================

Melis Platform engine module

v5.3.6(5mo ago)45.0k↑361.5%1[1 PRs](https://github.com/melisplatform/melis-engine/pulls)5OSL-3.0PHPPHP ^8.1|^8.3

Since May 16Pushed 5mo ago7 watchersCompare

[ Source](https://github.com/melisplatform/melis-engine)[ Packagist](https://packagist.org/packages/melisplatform/melis-engine)[ Docs](https://github.com/melisplatform/melis-engine)[ RSS](/packages/melisplatform-melis-engine/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (5)Versions (76)Used By (5)

melis-engine
============

[](#melis-engine)

MelisEngine provides a set of services and classes to access the CMS' pages and datas.

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

[](#getting-started)

These instructions will get you a copy of the project up and running on your machine.

### Prerequisites

[](#prerequisites)

None

### Installing

[](#installing)

Run the composer command:

```
composer require melisplatform/melis-engine

```

### Database

[](#database)

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

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

[](#tools--elements-provided)

- All Melis CMS database model
- Services to access the page and tree system
- Default Melis templating plugin abstract class
- Page microservices

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

[](#running-the-code)

### MelisEngine Services

[](#melisengine-services)

MelisEngine provides many services to be used in other modules:

- MelisPageService
    Provides services to get all datas from a page. File: /melis-engine/src/Service/MelisPageService.php

```
// Get the service
$melisPage = $this->getServiceManager()->get('MelisEnginePage');
// Get all datas of this page
$datasPageRes = $melisPage->getDatasPage($siteMainPage);

```

- MelisTreeService
    Provides services to get sets of pages based on the tree of pages.
    Meant to deliver parent pages, breadcrumb, generate menus, generate URLs, etc.
    File: /melis-engine/src/Service/MelisTreeService.php

```
// Get the service
$treeSrv = $this->getServiceManager()->get('MelisEngineTree');
// Get the breadcrumb
$pageBreadcrumb = $treeSrv->getPageBreadcrumb($pageId, 0, true);

```

- MelisSearch
    This service deals with search on the Melis Platform hosted website.
    Search is done using Zend\_Search.
    File: /melis-engine/src/Service/MelisSearchService.php

```
// Get the service
$searchSvc = $this->getServiceManager()->get('MelisSearch');
// Search
$searchresults = $searchSvc->search($keyword, $moduleName, true);

```

### Melis CMS database models

[](#melis-cms-database-models)

All models used my the platform to access the CMS part of the database are located in this module.
Folder: /melis-engine/src/Model

### Melis Templating Plugin Abstract Class

[](#melis-templating-plugin-abstract-class)

Melis Platform offers a plugin system for edition of pages.
All plugins are built on the ZF2 Controller plugin system, and all plugins must extend this class too as it provides many default and awaited methods.
File: /melis-engine/src/Controller/Plugin/MelisTemplatingPlugin.php

**[See Full documentation on templating plugins here](https://www.melistechnology.com/MelisTechnology/resources/documentation/front-office/create-a-templating-plugin/Principle)**

Authors
-------

[](#authors)

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

See also the list of [contributors](https://github.com/melisplatform/melis-engine/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

57

—

FairBetter than 98% of packages

Maintenance71

Regular maintenance activity

Popularity25

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity93

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

Recently: every ~90 days

Total

54

Last Release

168d ago

Major Versions

v2.5.0 → v3.0.02018-10-17

v3.2.6 → v4.0.02020-08-17

v4.1.1 → v5.0.02022-06-20

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

v3.0.1PHP ^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

[![sircxes](https://avatars.githubusercontent.com/u/21098160?v=4)](https://github.com/sircxes "sircxes (84 commits)")[![rbbrioso28](https://avatars.githubusercontent.com/u/9497212?v=4)](https://github.com/rbbrioso28 "rbbrioso28 (83 commits)")[![benborla](https://avatars.githubusercontent.com/u/22745294?v=4)](https://github.com/benborla "benborla (62 commits)")[![fparan](https://avatars.githubusercontent.com/u/39509647?v=4)](https://github.com/fparan "fparan (30 commits)")[![ksuson](https://avatars.githubusercontent.com/u/31838758?v=4)](https://github.com/ksuson "ksuson (25 commits)")[![sgris](https://avatars.githubusercontent.com/u/3981660?v=4)](https://github.com/sgris "sgris (24 commits)")[![mariateresapomar](https://avatars.githubusercontent.com/u/85868605?v=4)](https://github.com/mariateresapomar "mariateresapomar (20 commits)")[![jamesrepository](https://avatars.githubusercontent.com/u/10151213?v=4)](https://github.com/jamesrepository "jamesrepository (8 commits)")[![Victor-melis1224](https://avatars.githubusercontent.com/u/30471257?v=4)](https://github.com/Victor-melis1224 "Victor-melis1224 (6 commits)")[![nicole-cayambas](https://avatars.githubusercontent.com/u/55810654?v=4)](https://github.com/nicole-cayambas "nicole-cayambas (4 commits)")[![jerremeirago](https://avatars.githubusercontent.com/u/30467695?v=4)](https://github.com/jerremeirago "jerremeirago (4 commits)")[![simonalcover](https://avatars.githubusercontent.com/u/17284664?v=4)](https://github.com/simonalcover "simonalcover (1 commits)")[![ffesch](https://avatars.githubusercontent.com/u/1141489?v=4)](https://github.com/ffesch "ffesch (1 commits)")

---

Tags

cmsmodulezf2melis

### Embed Badge

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

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

###  Alternatives

[melisplatform/melis-cms

Melis Platform CMS module

115.5k15](/packages/melisplatform-melis-cms)

PHPackages © 2026

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