This is fork, so I can't add it to Packagist.
Insert repositories section to composer.json in your project:
"repositories": [
{
"type": "vcs",
"url": "https://github.com/fabiancz/nette-google-oauth2"
}
],
Add require:
"fabiancz/nette-google-oauth2": "@dev"