File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 3232 },
3333 "autoload" : {
3434 "psr-0" : {
35- "JDrda \\ LaravelGoogleCustomSearchEngine" : " src/"
35+ "JanDrda \\ LaravelGoogleCustomSearchEngine" : " src/"
3636 }
3737 },
3838 "config" : {
Original file line number Diff line number Diff line change @@ -19,14 +19,14 @@ composer require jdrda/laravel-google-custom-search-engine
1919``` php
2020'providers' => [
2121 '...',
22- 'JDrda \LaravelGoogleCustomeSearchEngine\LaravelGoogleCustomeSearchEngineProvider'
22+ 'JanDrda \LaravelGoogleCustomeSearchEngine\LaravelGoogleCustomeSearchEngineProvider'
2323];
2424```
25253 . Add alias for Facade to config/app.php
2626``` php
2727'aliases' => [
2828 ...
29- 'GoogleCseSearch' => 'JDrda \LaravelGoogleCustomeSearchEngine\Facades\LaravelGoogleCustomeSearchEngineProvider',
29+ 'GoogleCseSearch' => 'JanDrda \LaravelGoogleCustomeSearchEngine\Facades\LaravelGoogleCustomeSearchEngineProvider',
3030 ...
3131]
3232```
Original file line number Diff line number Diff line change 66 * If you create your engine at https://cse.google.com/cse/ you will find the ID after you click at Settings.
77 * Just check the URL you have like https://cse.google.com/cse/setup/basic?cx=search_engine_id
88 * and the string after cx= is your search engine ID
9+ *
10+ * !! Attention !! If you change style of your Custom search engine, the ID can be changed
911 */
10- 'engineId ' => '' ,
12+ 'engineId ' => '009135221033437726143:k204yzkg1k8 ' ,
1113
1214 /**
1315 * For generation API key you have to go to https://console.developers.google.com, than
2022 * 7. click on the 'Create credentials' and choose 'API key'
2123 * 8. your API key is shown, so copy and paste it here
2224 *
23- * !! It can take some time to API key will be authorized, wait 10 mins before starting to use it
25+ * !! Attention !! It can take some time to API key will be authorized, wait 10 mins before starting to use it
2426 */
25- 'apiKey ' => ''
27+ 'apiKey ' => 'AIzaSyABzXEPu8_ucfJqAvzrYgyE69hmS7Wssts '
2628];
You can’t perform that action at this time.
0 commit comments