Download the PHP package melisplatform/melis-platform-framework-symfony without Composer
On this page you can find all versions of the php package melisplatform/melis-platform-framework-symfony. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package melis-platform-framework-symfony
melis-platform-framework-symfony
This bundle is the gateway for Symfony in order to make a connection to Melis platform like accessing the registered services and automatically use the database connection of the platform.
Getting Started
These instructions will get you a copy of the project up and running on your machine.
Prerequisites
You will need to install the following in order to have this module running:
- melisplatform/melis-platform-frameworks
It will automatically be done when using composer.
Installing
Run the composer command:
Running the code
Activating the module
Activating this bundle is just the same way you activate your 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).
Accessing Melis Platform Service
MelisServiceManager Class
- This class is the gateway for Symfony in order to make a connection to Melis platform. Therefore, using this class we can get all of Melis platform registered services.
- You can call this class inside symfony application as a service by calling its registered
service key
melis_platform.service_manager
or by using a Dependency Injection. (See example below)
Example:
-
Bundles that are inside the Symfony skeleton might have a problem accessing the
melis_platform.service_manager
service key inside their Controller that extends AbstractController since AbstractController only uses a limited container that only contains some services.But we can still use the
melis_platform.service_manager
service key by overriding thegetSubscribedServices
function of the AbstractController inside our Controller to register our service.
Event Listeners
DatabaseSwitcherListener
- This listener will force Symfony to use the Melis Platform database.
SymfonyTranslationsListener
- This listener will get all of Symfony translations and store it inside a file (Resources/translations/melis/symfony-translations.phtml) so that Melis Platform can use this translations. This file MUST be writable.
Authors
- Melis Technology - www.melistechnology.com
See also the list of contributors who participated in this project.
License
This project is licensed under the OSL-3.0 License - see the LICENSE
All versions of melis-platform-framework-symfony with dependencies
melisplatform/melis-platform-frameworks Version ^5.0
ext-ctype Version *
ext-iconv Version *
sensio/framework-extra-bundle Version ^6.2
symfony/asset Version ^5.4
symfony/dotenv Version ^5.4
symfony/console Version ^5.4
symfony/expression-language Version ^5.4
symfony/form Version ^5.4
symfony/http-kernel Version ^5.4
symfony/framework-bundle Version ^5.4
symfony/http-client Version ^5.4
symfony/intl Version ^5.4
symfony/monolog-bundle Version ^3.7
symfony/orm-pack Version ^2.2
symfony/security-bundle Version ^5.4
doctrine/annotations Version ^1.13
phpdocumentor/reflection-docblock Version ^5.3
symfony/property-access Version ^5.4
symfony/property-info Version ^5.4
symfony/serializer Version ^5.4
symfony/swiftmailer-bundle Version ^3.5
symfony/translation Version ^5.4
twig/twig Version ^3.3
symfony/twig-bundle Version ^5.4
symfony/process Version ^5.4
symfony/validator Version ^5.4
symfony/web-link Version ^5.4
symfony/yaml Version ^5.4
psr/cache Version 1.0.1
doctrine/common Version ^3.2.2
composer/package-versions-deprecated Version ^1.11
symfony/error-handler Version ^5.4
symfony/twig-bridge Version ^5.4
symfony/http-foundation Version ^5.4
egulias/email-validator Version ^2.1.10
phpstan/phpdoc-parser Version ^1.4
symfony/flex Version ^1.17
symfony/doctrine-messenger Version 5.4.*
symfony/mailer Version 5.4.*
symfony/mime Version 5.4.*
symfony/notifier Version 5.4.*
symfony/runtime Version 5.4.*
symfony/webapp-meta Version ^1.0
symfony/webpack-encore-bundle Version ^1.12
twig/extra-bundle Version ^2.12|^3.0
symfony/event-dispatcher Version ^5.4
symfony/proxy-manager-bridge Version ^5.4
doctrine/migrations Version 3.4.2
symfony/stopwatch Version ^5.4
symfony/routing Version ^5.4
symfony/messenger Version ^5.4
symfony/options-resolver Version ^5.4
symfony/password-hasher Version ^5.4
symfony/security-csrf Version ^5.4
symfony/var-exporter Version ^5.4
symfony/amqp-messenger Version ^5.4
symfony/redis-messenger Version ^5.4
symfony/event-dispatcher-contracts Version ^2.5
psr/link Version 1.0.0
laminas/laminas-code Version 3.4.1