Melis Platform Frameworks Laravel

v4.0.0 2020-08-17 09:57 UTC


This laravel service provides a connection to the Laminas application enabling access to the Service and Event Manager and Database connection configuration of the application.


This module requires:

  • melisplatform/melis-core:^3.1
  • laravel/framework:^6.0

It will automatically be done when using composer.


composer require melisplatform/melis-platform-framework-laravel

Service Providers

Activating the Service provider by just adding to the config/app.php file in the Service Providers section.



Below is an example of direct calling a Model in laravel controller

$languagesTbl = app('LaminasServiceManager')->get('MelisCoreTableLang');
$listArray = $languagesTbl->fetchAll();

Where to find Melis Services

  • Melis Services are found inside each Melis Modules and these melis modules can be found by following the path below.
  • Inside each Melis Module you can find module.config.php in the config folder.
    The module.config.php contains an array keys called aliases and factories under service_manager.
'service_manager' => array(
    'invokables' => array(
    'aliases' => array(
        'translator' => 'MvcTranslator',
        'MelisCmsNewsTable' => 'MelisCmsNews\Model\Tables\MelisCmsNewsTable',
        'MelisCmsNewsTextsTable' => 'MelisCmsNews\Model\Tables\MelisCmsNewsTextsTable',
    'factories' => array(
        'MelisCmsNewsService' => 'MelisCmsNews\Service\Factory\MelisCmsNewsServiceFactory',
        'MelisCmsNews\Model\Tables\MelisCmsNewsTable' => 'MelisCmsNews\Model\Tables\Factory\MelisCmsNewsTableFactory',
        'MelisCmsNews\Model\Tables\MelisCmsNewsTextsTable' => 'MelisCmsNews\Model\Tables\Factory\MelisCmsNewsTextsTableFactory',
  • The array keys inside aliases or factories can be called in Laravel framework using the MelisServiceProvider.
$melisNewsSvc = $app['']->getService("MelisCmsNewsService");


See also the list of contributors who participated in this project.


This project is licensed under the OSL-3.0 License - see the file for details