Add tilde symbol to require packages version numbers.

Add tilde instead of star, [read more](https://getcomposer.org/doc/01-basic-usage.md#next-significant-release-tilde-operator).