From 1f9692e729ee04957c4f05870a3baebe5b28b07a Mon Sep 17 00:00:00 2001 From: Freek Date: Thu, 12 Feb 2015 16:25:33 +0100 Subject: [PATCH] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c2af0fe..915d5fe 100644 --- a/README.md +++ b/README.md @@ -40,16 +40,17 @@ GoogleSearch also comes with a facade, which provides an easy way to call the th // Laravel 5: config/app.php -'aliases' => array( +'aliases' => [ ... 'GoogleSearch' => 'Spatie\GoogleSearch\Facades\GoogleSearch', -) + ... +] ``` You can publish the config file of the package using artisan ```bash -php artisan vendor:publish --provider="Spatie\GoogleSearch\Facades\GoogleSearch" +php artisan vendor:publish --provider="Spatie\GoogleSearch\GoogleSearchServiceProvider" ``` This command creates a file within your config directory in which you can specify the id of the Custom Search Engine you want to use.