PHPackages                             franc-liuzzi/ep-geo - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. franc-liuzzi/ep-geo

ActiveLibrary[API Development](/categories/api)

franc-liuzzi/ep-geo
===================

Geo query integration for ElasticPress

0.2.2(4y ago)01.5k↓55.6%MITPHP

Since Jul 21Pushed 4y agoCompare

[ Source](https://github.com/franc-liuzzi/ep-geo)[ Packagist](https://packagist.org/packages/franc-liuzzi/ep-geo)[ RSS](/packages/franc-liuzzi-ep-geo/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (4)Versions (18)Used By (0)

ep-geo
======

[](#ep-geo)

Geo query integration for ElasticPress

Installation
------------

[](#installation)

1. Follow installation instructions for [ElasticPress](https://github.com/10up/ElasticPress#installation).
2. Install and activate this plugin (ep-geo) in WordPress.
3. Navigate to Admin &gt; ElasticPress and activate "Geo".

Usage
-----

[](#usage)

By default, this plugin looks in post meta fields named "latitude" and "longitude". They should be plain text fields with lat/lon represented as floats.

Find posts within 30mi of Portland, OR, USA, ordered by distance:

```
new WP_Query( array(
    'ep_integrate'   => true,
    'posts_per_page' => 100,
    'post_type'      => 'post',
    'orderby'        => 'geo_distance',
    'order'          => 'asc',
    'geo_distance'   => array(
        'distance'           => '30mi',
        'geo_point.location' => array(
            'lat' => 45.5231,
            'lon' => -122.6765,
        ),
    ),
) );
```

If your latitude and longitude data is stored somewhere else, or if you need to calculate or preprocess the geo\_point location, it's configurable with a WordPress hook:

```
/**
 * Alter geo_point location to use my_lat/my_lon.
 */
add_filter( 'ep_geo_post_sync_geo_point', function ( $geo_point, $post_args, $post_id ) {
	$geo_point['location']['lat'] = get_field( 'my_lat', $post_id );
	$geo_point['location']['lon'] = get_field( 'my_lon', $post_id );

	return $geo_point;
}, 10, 3 );
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

17

Last Release

1750d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/516cfb7cc40b6080a56e6ed5c962f223c43261e245cf0ced1894ff4a676a9881?d=identicon)[franc-liuzzi](/maintainers/franc-liuzzi)

---

Top Contributors

[![franc-liuzzi](https://avatars.githubusercontent.com/u/22956553?v=4)](https://github.com/franc-liuzzi "franc-liuzzi (18 commits)")[![wxactly](https://avatars.githubusercontent.com/u/1130929?v=4)](https://github.com/wxactly "wxactly (18 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/franc-liuzzi-ep-geo/health.svg)

```
[![Health](https://phpackages.com/badges/franc-liuzzi-ep-geo/health.svg)](https://phpackages.com/packages/franc-liuzzi-ep-geo)
```

###  Alternatives

[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[spatie/laravel-route-discovery

Auto register routes using PHP attributes

23645.0k2](/packages/spatie-laravel-route-discovery)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
