Skip to content

utils-for-symfony/controller-using-templating-http-foundation-http-kernel

Repository files navigation

controller-using-templating-http-foundation-http-kernel

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published