Commit class and composer.json