Update composer.json

The version attribute is not required. I've also improved the other version constraints.