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

ActiveMelisplatform-module

melisplatform/melis-cms-prospects
=================================

Melis Platform prospects module

v5.3.2(3mo ago)24.2k12OSL-3.0PHPPHP ^8.1|^8.3

Since May 16Pushed 3mo ago7 watchersCompare

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

READMEChangelog (10)Dependencies (5)Versions (34)Used By (2)

melis-cms-prospects
===================

[](#melis-cms-prospects)

MelisCmsProspects provides a full Prospect 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 MelisCms.

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

```

### Database

[](#database)

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

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

[](#tools--elements-provided)

- Prospects Tool
- Themes Tool
- Melis Templating Prospect Plugin (contact form &amp; management)
- Dashboard item for prospects registration overview

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

[](#running-the-code)

### MelisCmsProspects Services

[](#meliscmsprospects-services)

MelisCmsProspects provides many services to be used in other modules:

- MelisCmsProspects
    Services to retrieve lists of prospects, prospects details and save a new prospect
    File: /melis-cms-prospects/src/Service/MelisCmsProspectsService.php

```
// Get the service
$melisProspectsService = $this->getServiceManager()->get('MelisProspectsService');
// Get the number of prospects per month
$nb = $melisProspectsService->getProspectsDataByDate('monthly', '2017-10-04 12:00:00');

```

### MelisCmsProspects Forms

[](#meliscmsprospects-forms)

#### Forms factories

[](#forms-factories)

All Melis CMS News forms are built using Form Factories.
All form configuration are available in the file: /melis-cms-prospects/config/app.tools.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(

		// MelisCmsProspects array
		'melistoolprospects' => array(

			// Form key
			'forms' => array(

				// MelisCmsProspects update form
				'melistoolprospects_tool_prospects_update' => array(
					'attributes' => array(
						'name' => 'prospectmanager',
						'id' => 'idformprospectdata',
						'method' => 'POST',
						'action' => '',
					),
					'hydrator'  => 'Laminas\Hydrator\ArraySerializableHydrator',
					'elements' => array(
						array(
							'spec' => array(
								...
							),
						),
					),
					'input_filter' => array(
						'pros_id' => array(
							...
						),
					),
				),
			),
		),
	),
),

```

#### Forms elements

[](#forms-elements)

MelisCmsProspects provides form elements to be used in forms:

- MelisCmsProspectThemeSelect: a dropdown to select a theme
- MelisCmsProspectThemeItemSelect: a dropdown to select a theme item

### 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(
		'MelisCmsProspects',
		array(
			'meliscmsprospects_toolprospects_save_end',
		),
		function($e){

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

    		// Custom code
    	},
    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-prospects/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

58

—

FairBetter than 98% of packages

Maintenance82

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity89

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

Recently: every ~183 days

Total

25

Last Release

91d ago

Major Versions

v2.5.0 → v3.0.02018-10-17

v3.2.3 → v4.0.02020-08-17

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 (38 commits)")[![jzabate](https://avatars.githubusercontent.com/u/39899634?v=4)](https://github.com/jzabate "jzabate (37 commits)")[![rbbrioso28](https://avatars.githubusercontent.com/u/9497212?v=4)](https://github.com/rbbrioso28 "rbbrioso28 (35 commits)")[![fparan](https://avatars.githubusercontent.com/u/39509647?v=4)](https://github.com/fparan "fparan (31 commits)")[![sircxes](https://avatars.githubusercontent.com/u/21098160?v=4)](https://github.com/sircxes "sircxes (22 commits)")[![sgris](https://avatars.githubusercontent.com/u/3981660?v=4)](https://github.com/sgris "sgris (20 commits)")[![mariateresapomar](https://avatars.githubusercontent.com/u/85868605?v=4)](https://github.com/mariateresapomar "mariateresapomar (11 commits)")[![simonalcover](https://avatars.githubusercontent.com/u/17284664?v=4)](https://github.com/simonalcover "simonalcover (9 commits)")[![ksuson](https://avatars.githubusercontent.com/u/31838758?v=4)](https://github.com/ksuson "ksuson (7 commits)")[![jamesrepository](https://avatars.githubusercontent.com/u/10151213?v=4)](https://github.com/jamesrepository "jamesrepository (4 commits)")

---

Tags

cmsmodulezf2melis

### Embed Badge

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

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

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