Fixed composer dependencies

Rolling back to a range of version.

Use ~2.0 for yaml component.