php api bootstrap project using slim for routing and pimple for dependency injection container