Skip to content

Commit 40751fb

Browse files
committed
Update README for L5 release
Just needs a release tag for release.
1 parent 7c0addd commit 40751fb

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Geocoder for Lavarel 4
1+
Geocoder for Lavarel 5
22
======================
33

44
This package allows you to use [**Geocoder**](http://geocoder-php.org/Geocoder/)
5-
in [**Laravel 4**](http://laravel.com/).
5+
in [**Laravel 5**](http://laravel.com/).
66

77
[![Latest StableVersion](https://poser.pugx.org/toin0u/geocoder-laravel/v/stable.png)](https://packagist.org/packages/toin0u/geocoder-laravel)
88
[![Total Downloads](https://poser.pugx.org/toin0u/geocoder-laravel/downloads.png)](https://packagist.org/packages/toin0u/geocoder-laravel)
@@ -31,6 +31,11 @@ Edit `composer.json` and add:
3131
page to choose a stable version to use, avoid the `@stable` meta constraint.
3232

3333
And install dependencies:
34+
```bash
35+
$ composer update
36+
```
37+
38+
If you do not have [**Composer**](https://getcomposer.org) installed, run these two commands:
3439

3540
```bash
3641
$ curl -sS https://getcomposer.org/installer | php
@@ -41,7 +46,7 @@ $ php composer.phar install
4146
Usage
4247
-----
4348

44-
Find the `providers` key in `app/config/app.php` and register the **Geocoder Service Provider**.
49+
Find the `providers` array key in `config/app.php` and register the **Geocoder Service Provider**.
4550

4651
```php
4752
'providers' => array(
@@ -51,13 +56,13 @@ Find the `providers` key in `app/config/app.php` and register the **Geocoder Ser
5156
)
5257
```
5358

54-
Find the `aliases` key in `app/config/app.php` and register the **Geocoder Facade**.
59+
Find the `aliases` array key in `config/app.php` and register the **Geocoder Facade**.
5560

5661
```php
5762
'aliases' => array(
5863
// ...
5964

60-
'Geocoder' => 'Toin0u\Geocoder\GeocoderFacade',
65+
'Geocoder' => 'Toin0u\Geocoder\Facade\Geocoder',
6166
)
6267
```
6368

@@ -78,7 +83,7 @@ The service provider creates the following services:
7883

7984
By default, the `geocoder.chain` service contains `GoogleMapsProvider` and `FreeGeoIpProvider`.
8085
The `geocoder.adapter` service uses the cURL adapter. Override these services to use the
81-
adapter/providers you want by editing `app/config/packages/toin0u/geocoder-laravel/config.php`:
86+
adapter/providers you want by editing `config/geocoder.php`:
8287

8388
```php
8489
return array(

0 commit comments

Comments
 (0)