Fixed composer require, also added doctrine versions 2.3 and 2.4.