fix routeParams when no params and update composer.json