View composer functionality in Slim Framework?


I’m currently researching to migrate a cms build in Laravel to Slim Framework. The CMS uses View Composer ( I was wondering if Slim Framework also has something like this?

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