deal the composer.json and gitignore