Change '~' with '^' for version in composer require
Change '~' with '^' for version in composer require

Caret symbol sticks closer to semantic versioning, and will always allow non-breaking updates

gamernetwork/Twig,twigphp/Twig,gencer/Twig,gamernetwork/Twig,gencer/Twig,twigphp/Twig,gamernetwork/Twig,twigphp/Twig