Skip to content

Commit d21f895

Browse files
committed
Document country() method
1 parent 9443742 commit d21f895

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ To use geolocation enabled requests within your Laravel controller
1919
methods, you can replace the `use Illuminate\Http\Request` line
2020
at the top of your controllers, as shown in the usage example below.
2121

22+
Once done, you can simple call the `$request->country()` method to
23+
perform geolocation and return the origin country of the active
24+
request based on its IP address.
25+
2226
```php
2327
<?php
2428

0 commit comments

Comments
 (0)