View composer functionality in Slim Framework?


#1

Hi

I’m currently researching to migrate a cms build in Laravel to Slim Framework. The CMS uses View Composer (https://laravel.com/docs/5.0/views#view-composers). I was wondering if Slim Framework also has something like this?


#2

I think Laravels concept of View Composers is very similar (but not the same) to Twig Global variables.