This bundle handles the request of melisplatform/melis-platform-framework-symfony-demo-tool to display data. It accesses the database, translates the text and renders the views.
These instructions will get you a copy of the project up and running on your machine.
You will need the following in order to have this module running:
It will automatically be done when using composer.
Run the composer command:
composer require melisplatform/melis-platform-framework-symfony-demo-tool-logic
Running the code
Activating the bundle
Activating this bundle is just the same way you activate your symfony bundle inside Symfony application. You just need to include its bundle class to the list of bundles inside Symfony application (most probably in bundles.php file).
return [ //All of the symfony activated bundles here Symfony\Bundle\FrameworkBundle\FrameworkBundle::class => ['all' => true], ... ... etc. //Melis Platform Custom Bundles MelisPlatformFrameworkSymfony\MelisPlatformFrameworkSymfonyBundle::class => ['all' => true], MelisPlatformFrameworkSymfonyDemoToolLogic\MelisPlatformFrameworkSymfonyDemoToolLogicBundle::class => ['all' => true] ];
Don't forget to activate also the MelisPlatformFrameworkSymfonyBundle class since this bundle requires it.
Since this bundle has its own routes, we need to include it inside Symfony application for Symfony to recognize it. So we just need to include the bundle's route inside Symfony application (most likely in routes.yaml file if Symfony uses yaml as extension).
melis_platform: resource: "@MelisPlatformFrameworkSymfonyDemoToolLogicBundle/Resources/config/routing.yaml" prefix: /
- Melis Technology - www.melistechnology.com
See also the list of contributors who participated in this project.
This project is licensed under the OSL-3.0 License - see the LICENSE