PHPackages                             melisplatform/melis-platform-frameworks - 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. [Framework](/categories/framework)
4. /
5. melisplatform/melis-platform-frameworks

ActiveMelisplatform-module[Framework](/categories/framework)

melisplatform/melis-platform-frameworks
=======================================

Melis Platform Frameworks

v5.2.1(1y ago)199411OSL-3.0PHPPHP ^8.1|^8.3

Since Sep 10Pushed 1y ago6 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (23)Used By (11)

melis-platform-frameworks
=========================

[](#melis-platform-frameworks)

This Module handles the execution of Third party framework and return the content as response of the request, it also provides a Service in order to make a request to the third party.

### Prerequisites

[](#prerequisites)

This module requires `melisplatform/melis-core` installed. This will automatically be done when using composer.

### Installing

[](#installing)

```
composer require melisplatform/melis-platform-frameworks

```

### Adding Third Party Frameworks

[](#adding-third-party-frameworks)

Third Party Frameworks are located at the root of Melis Platform application `/thirdparty`, inside this directory you can place your desired Frameworks.
Framework skeletons for Melis Platform can be downloaded here:
[Laravel](http://marketplace.melisplatform.com/frameworks/laravel-6-skeleton-melis.zip), [Symfony](http://marketplace.melisplatform.com/frameworks/symfony-4-skeleton-melis.zip), [Lumen](http://marketplace.melisplatform.com/frameworks/lumen-5.8.12-skeleton-melis.zip), [Silex](http://marketplace.melisplatform.com/frameworks/silex-2-skeleton-melis.zip)

```
...
/module
/public
/storage
/test
/thirdparty
    /Laravel
        /app
        /bootstrap
        /config
        ...
    /Symfony
        /bin
        /config
        /public
        ...
...

```

Above is an example of Laravel and Symfony frameworks added to `/thirdparty` directory.
**Note:** You can decide what would be the name of the framework directory name and then apply it on your configuration below.

### Third Party Framework Execution

[](#third-party-framework-execution)

**When executing the third party framework a config data MUST be declared in the config file in order to determine the application to be executed**, this can be done by adding this data array on the config file:

```
'third-party-framework' => [
    'index-path' => [
        'Laravel/public/index.php'
    ]
],

```

`'index-path'` must set the path of the application index.php file inside `/thirdparty` in the root directory. For example 'Laravel/public/index.php'. DO NOT include the `/thirdparty` directory in the path.

### Third Party Frameworks modification

[](#third-party-frameworks-modification)

Frameworks response MUST be modified to return the response content and the status of the request, here's an example of Laravel framework integration as third party framework.

#### Laravel public/index.php

[](#laravel-publicindexphp)

At the last part of the code in `public/index.php` file, Laravel is generating the response by calling `$response->send()` method from `Response` Object then after terminated the application by `$kernel->terminate($request, $response)`, as code syntax below:

```
...

$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);

$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);

$response->send();

$kernel->terminate($request, $response);

```

In the integration of third party framework instead of displaying the response and terminating in the index.php file, this will return an array of data containing the content using `getContent()` and status `getStatusCode()` from `Response` object.

```
...

// $response->send();

// $kernel->terminate($request, $response);

return [
    'statusCode' => $response->getStatusCode(),
    'content' => $response->getContent(),
];

```

Notice the `$response->send()` and `$kernel->terminate($request, $response)` are commented to avoid rendering the response and terminating the application.

### Service and implementation

[](#service-and-implementation)

This module has a service `MelisPlatformService` to call in order to get a response from third party framework. By specifying the route of the request it will execute a request and return the content as the result.

Example:

```
$thirdPartySrv = $this->getServiceManager()->get('MelisPlatformService');
$thirdPartySrv->setRoute('/melis/lravel-list');
$response = $thirdPartySrv->getContent();

```

Authors
-------

[](#authors)

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

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

41

—

FairBetter than 89% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 67.1% 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 ~120 days

Recently: every ~227 days

Total

16

Last Release

635d ago

Major Versions

v3.2.2 → v4.0.02020-08-17

v4.1.0 → v5.0.02022-06-21

PHP version history (3 changes)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

[![rbbrioso28](https://avatars.githubusercontent.com/u/9497212?v=4)](https://github.com/rbbrioso28 "rbbrioso28 (57 commits)")[![sircxes](https://avatars.githubusercontent.com/u/21098160?v=4)](https://github.com/sircxes "sircxes (18 commits)")[![mariateresapomar](https://avatars.githubusercontent.com/u/85868605?v=4)](https://github.com/mariateresapomar "mariateresapomar (9 commits)")[![MelisTest](https://avatars.githubusercontent.com/u/21234733?v=4)](https://github.com/MelisTest "MelisTest (1 commits)")

---

Tags

cmsmodulezf2melis

### Embed Badge

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

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

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