Added context to code example of composer.json

If someone wasn't super familiar with composer they may think that your code sample was the contents of composer.json and not just rows to add to require.  This adds context so it's clearer where they would go in composer.json.