add type and license to composer.json.