add composer
edit composer.json
new function