There are nealy the same, so in my opinion there is no proper way, but I've doing the second approach, because this way you can add logger and other stuff before you create the actual slim app instance.