added composer.json, updated pre-commit hook