melisplatform / melis-dashboard-plugin-creator
Melis Platform Dashboard Plugin Creator
Installs: 342
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 7
Forks: 0
Open Issues: 0
Type:melisplatform-module
Requires
- php: ^8.1|^8.3
- melisplatform/melis-core: ^5.2
- melisplatform/melis-tool-creator: ^5.2
This package is auto-updated.
Last update: 2024-10-26 12:10:53 UTC
README
Generates a ready-to-use dashboard plugin, complete with source code and necessary configuration. This will aid the developers, especially the new developers of the platform, to swiftly create a plugin with or without the ample knowledge of the plugin's technicalities.
Getting started
These instructions will get you a copy of the project up and running on your machine.
Prerequisites
The following modules need to be installed to run the Melis Dashboard Plugin Creator module:
- Melis Core
- Melis Tool Creator
Installing
Run the composer command:
composer require melisplatform/melis-dashboard-plugin-creator
Go to /melis-dashboard-plugin-creator/public/ and change the file owner of the 'temp-thumbnail' directory to 'www-data'. This is where the plugin thumbnails are temporarily saved.
chown www-data temp-thumbnail
Database
No database is needed for this tool
Tools and elements provided
- Dashboard Plugin Creator Tool
- Dashboard Plugin Creator Service
Dashboard Plugin Creator Tool
- user may opt to create a single or multi-tab dashboard plugin and must specify the destination module(new or existing) for the generated plugin
- after generation, the source code can be found inside the destination module ready to be updated based on the project's requirements
- the generated plugin by default, will be shown under the 'Others' section in the Dashboard Plugins menu
Dashboard Plugin Creator Service
File:
- /melis-dashboard-plugin-creator/src/Service/MelisDashboardPluginCreatorService.php
-
MelisDashboardPluginCreatorService
- This service's main function is to generate a dashboard plugin using the parameters saved in the current session.
$dashboardPluginService = $this->getServiceManager()->get('MelisDashboardPluginCreatorService'); $result = $dashboardPluginService->generateDashboardPlugin();
Authors
- Melis Technology - www.melistechnology.com
See also the list of contributors who participated in this project.
License
This project is licensed under the Melis Technology premium versions end user license agreement (EULA) - see the LICENSE.md file for details