Slim framework extension