symfony-util/controller-using-templating-http-foundation-http-kernel

Controller which renders a template and returns a response (HttpFoundation): dependency check for use by http-kernel

dev-master / 0.1.x-dev 2019-06-02 11:17 UTC

This package is auto-updated.

Last update: 2024-03-29 03:44:30 UTC


README

Controller which renders a template and returns a response (HttpFoundation): dependency check for use by http-kernel

PHPPackages Rank Monthly Downloads PHPPackages Referenced By Tested PHP Versions Dependency Status Build Status

Scrutinizer SensioLabsInsight

Usefullness

  • To be sure than Symfony >= 3.3 as required to call the controller with templating engin as argument.
  • Additional functional testing calling the controller from HttpKernel or FrameworkBundle.

Possible improvements

  • Does not pass test with Symfony 4. Travis 445, using Symfony 4, shows mixed components from Symfony 3 and 4 and fails all tests due to bad configuration. Symfony 3.4 fails in a may be similar way.
  • Use (yaml) configuraton for test Kernel(s), instead of in php code configuration
  • Tests do not use 2 Kernels as intended, the first one configured is the only one! Corrected, OK now!

Should be a composer metapackage

  • metapackage
  • Maybe all the PHP code has to be moved somewhere else!

Icon: https://material.io/icons/#ic_wallpaper