Skip to content

Commit 57a5baa

Browse files
2.0.0
1 parent 3793ff8 commit 57a5baa

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

README.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,37 @@ $googleServiceAdsense = new \Google_Service_Youtube($googleClient);
107107

108108
```
109109

110+
Your Google Services
111+
---
112+
113+
```php
114+
//App config
115+
[
116+
'components' =>
117+
[
118+
//....
119+
'googleApi' =>
120+
[
121+
'class' => '\skeeks\yii2\googleApi\GoogleApi',
122+
'key' => 'YOUR_GOOLE_API_KEY',
123+
124+
'serviceTranslateClass' => 'skeeks\cms\googleApi\serviceTranslate\GoogleApiServiceTranslate'
125+
126+
//or
127+
128+
'serviceTranslateClass' => [
129+
'class' => 'skeeks\cms\googleApi\serviceTranslate\GoogleApiServiceTranslate',
130+
131+
'option' => 'value'
132+
],
133+
],
134+
//....
135+
]
136+
]
137+
138+
```
139+
140+
110141
___
111142

112143
> [![skeeks!](https://skeeks.com/img/logo/logo-no-title-80px.png)](https://skeeks.com)

0 commit comments

Comments
 (0)