Back to Vol 18, Issue 7

PHP Architect · Vol 18, Issue 7 · July 2019

Add Location Based Searching to Your PHP App With Elasticsearch

by Derek Binkley

Searching based on a user’s location is a feature of many websites and applications. This type of search adds relevancy and value to a website, especially when these results include the distance from a point or within a polygon, and are combined with fast text searches. In this article, we’ll take an in-depth look at how Elasticsearch supports searching based upon latitude and longitude. We’ll look at the different types of location searches and how to integrate these searches into a PHP-based backend API.

The full article is in PHP Architect Vol 18, Issue 7. Subscribe to read it and every new issue.

Subscribe
Derek Binkley

About the author

Derek Binkley

Derek is the Technical Lead at the National Conference of Bar Examiners, the creator of licensing exams for attorneys. He actively mentors other developers, specializes in Java, PHP, JavaScript, MySQL and Oracle and advocates for accessible design of websites and applications. When not in front of a computer he enjoys spending time with family, traveling and drinking a local craft beer.

Our Partners

Collaborating with industry leaders to bring you the best PHP resources and expertise

Interested in partnering? Get in touch →