use php-lib-rest instead of Silex