From ce026fea1b6e72e7b9f20c1ee1013f1624380d56 Mon Sep 17 00:00:00 2001 From: Maurice Wijnia Date: Thu, 10 Sep 2020 19:06:52 +0200 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0a738a0..7a6890f 100644 --- a/README.md +++ b/README.md @@ -39,12 +39,24 @@ And in our model: ```php protected $casts = [ - 'location' => 'array' + 'address' => 'array' ] ``` - +The resulting data will have this format: +``` +{ + street_name: '', + street_number: '', + postal_code: '', + city: '', + country: '', + formatted_address: '', + latitude: '', + longitude: '' +} +```