snapshotpl / zf-snap-google
Installs: 60
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/snapshotpl/zf-snap-google
Requires
- php: >=5.4.0
- google/apiclient: ~1.1
This package is auto-updated.
Last update: 2025-09-29 02:05:37 UTC
README
Google API client for Zend Framework 2
Module uses official Google SDK as dependency.
Usage
$youtube = $serviceManager->get('Google_Service_YouTube'); $result = $youtube->search->listSearch('id', [ 'q' => 'Google', 'maxResults' => 10, 'videoEmbeddable' => 'true', 'type' => 'video', ]);
How to install?
Via composer.json
{ "require": { "snapshotpl/zf-snap-google": "0.9.*" } }
and add module ZfSnapGoogle
to application.config.php
.
Configure your Google credentials by settings developer key:
return [ 'google' => [ 'client' => [ 'developer_key' => null, ], ], ];