use ~ syntax in composer.json dependencies
Merge pull request #1451 from lsmith77/composer_tweaks

use ~ syntax in composer.json dependencies