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

ActiveMelisplatform-module

melisplatform/melis-cms-category2
=================================

v5.3.5(10mo ago)31.1kOSL-3.0JavaScriptPHP ^8.1|^8.3

Since Apr 25Pushed 9mo ago6 watchersCompare

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

READMEChangelog (10)Dependencies (2)Versions (32)Used By (0)

melis-cms-category2
===================

[](#melis-cms-category2)

This module brings a full category system to use in your websites and to administrate on the platform with fully multi lingual and multi sites functionalities

Getting started
---------------

[](#getting-started)

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

### Prerequisites

[](#prerequisites)

The following modules need to be installed to have Melis cms category2 module run:

- Melis core
- Melis engine
- Melis CMS

### Installing

[](#installing)

Run the composer command:

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

```

### Database

[](#database)

Database model is accessible via the MySQL Workbench file:

```
/melis-cms-category2/install/sql/Model

```

Database will be installed through composer and its hooks.
In case of problems, SQL files are located here:

```
/melis-cms-category2/install/sql

```

Tools and elements provided
---------------------------

[](#tools-and-elements-provided)

- Category tool
- Category Service
- Category display plugin

### Categories tool

[](#categories-tool)

Provides the user with the basic actions in managing categories such as:

- Creation
    - user can create a category
- Edition
    - user can manage the category titles, contents, dates of validity, or attach media(images, files).
- Deletion
    - user can delete a category

### MelisCmsCategory2 Services

[](#meliscmscategory2-services)

MelisCmsCategory2 provides two services to be used in other modules. Find them in the folder : /melis-cms-category2/src/Service

```
File: /melis-cms-category2/src/Service/MelisCsmCategoryService.php

```

- This service can be used inside other modules like so:

```
// Get the category service
$cmsCategorySvc = $this->getServiceManager()->get("MelisCmsCategory2Service");

// Get category tree
$result = $cmsCategorySvc->getCategoryTreeview($fatherId,$langId,$onlyValid, $siteId);

// Get the category data
$categoryData = $cmsCategorySvc->getCategoryById($categoryId,$langId,$onlyValid);

```

- Common methods this service is used for are as follows:
    - Category creation/edition: saveCategory(...)
    - Category site creation/edition: saveCategorySites(...)
    - Category translation creation/edition: saveCategoryTexts(...)

- For a more detailed information on the methods, please visit the file.

### Category display categories plugin

[](#category-display-categories-plugin)

- Use the plugin in a hardcoded way , in your controller :

```
/**
* Generating category display using MelisCmsCategoryDisplayCategoriesPlugin Plugin
* (hardcoded)
*/
$categoryDisplay = $this->MelisCmsCategoryDisplayCategoriesPlugin();
$categoryDisplayParameters = array(
    'template_path' => array('MelisCmsCategory2/default'),
    // Site id of News
    'site_id' => 1,
    'category_start' => 1,
);
// add generated view to children views for displaying it in the contact view
$this->view->addChild($categoryDisplay->render($categoryDisplayParameters), 'categoryDisplay');

```

- In your view file :

```

```

Authors
-------

[](#authors)

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

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

License
-------

[](#license)

This project is licensed under the Melis Technology premium versions end user license agreement (EULA) - see the [LICENSE.md](LICENSE.md) file for details

###  Health Score

48

—

FairBetter than 94% of packages

Maintenance58

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor2

2 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 ~125 days

Recently: every ~71 days

Total

19

Last Release

305d ago

Major Versions

v3.2.0 → v4.0.02020-08-18

v4.1.0 → v5.0.02022-06-21

PHP version history (4 changes)v3.0.0PHP ^5.5 || ^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

[![jzabate](https://avatars.githubusercontent.com/u/39899634?v=4)](https://github.com/jzabate "jzabate (33 commits)")[![rbbrioso28](https://avatars.githubusercontent.com/u/9497212?v=4)](https://github.com/rbbrioso28 "rbbrioso28 (16 commits)")[![sircxes](https://avatars.githubusercontent.com/u/21098160?v=4)](https://github.com/sircxes "sircxes (6 commits)")[![nicole-cayambas](https://avatars.githubusercontent.com/u/55810654?v=4)](https://github.com/nicole-cayambas "nicole-cayambas (5 commits)")[![mariateresapomar](https://avatars.githubusercontent.com/u/85868605?v=4)](https://github.com/mariateresapomar "mariateresapomar (4 commits)")[![fparan](https://avatars.githubusercontent.com/u/39509647?v=4)](https://github.com/fparan "fparan (4 commits)")[![christineagh](https://avatars.githubusercontent.com/u/143582978?v=4)](https://github.com/christineagh "christineagh (3 commits)")[![jerremeirago](https://avatars.githubusercontent.com/u/30467695?v=4)](https://github.com/jerremeirago "jerremeirago (3 commits)")

---

Tags

cmsmodulezf2melis

### Embed Badge

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

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

###  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)
