Video
Description
Geocoder is a PHP library which helps you build geo-aware applications by providing a powerful abstraction layer for geocoding manipulations
The service provider initializes the geocoder service, accessible via the facade Geocoder::... or the application helper app('geocoder')->....
Geocoding Addresses
Get Collection of Addresses
app('geocoder')->geocode('Los Angeles, CA')->get();
Get IP Address Information
app('geocoder')->geocode('8.8.8.8')->get();
Reverse-Geocoding
app('geocoder')->reverse(43.882587,-103.454067)->get();
Related Content on Laravel Daily
Video
Recent Courses on Laravel Daily
[NEW] Practical Laravel Security: Packages, Secrets, Supply-Chain Attacks
7 lessons
43 min read
Roles and Permissions in Laravel 13
14 lessons
57 min
Queues in Laravel 13
18 lessons
1 h 12 min read