Add license and decrease required doctrine version.