added apidoc to composer.json.