adapt api
adding composer.json