PHPackages                             diversen/gps-from-exif - 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. [Image &amp; Media](/categories/media)
4. /
5. diversen/gps-from-exif

ActiveLibrary[Image &amp; Media](/categories/media)

diversen/gps-from-exif
======================

Get GPS from exif

1.0.7(9y ago)62.3k2MITPHPPHP &gt;=5.3.0

Since Feb 12Pushed 9y ago4 watchersCompare

[ Source](https://github.com/diversen/gps-from-exif)[ Packagist](https://packagist.org/packages/diversen/gps-from-exif)[ Docs](https://github.com/diversen/gps-from-exif)[ RSS](/packages/diversen-gps-from-exif/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (9)Used By (0)

gps-from-exif
=============

[](#gps-from-exif)

Get GPS from exif

Install:

```
composer require diversen/gps-from-exif

```

Usage example:

```
include_once "vendor/autoload.php";

use \diversen\gps;

// Example file
// $file = "vendor/diversen/gps-from-exif/failure.jpg";
$file = "vendor/diversen/gps-from-exif/example.jpg";

$g = new gps();

// Get GPS position
$gps = $g->getGpsPosition($file);
if (empty($gps)) {
    die('Could not get GPS position' . PHP_EOL);
}

print_r($gps);

// Get a google map
echo $gmap = $g->getGmap($gps['latitude'], $gps['longitude'], 600, 350);
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~22 days

Recently: every ~39 days

Total

8

Last Release

3632d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/23ed91d104f16d10414811ecdafbd5c80a660e658d80ccaadf84f512cfb50629?d=identicon)[diversen](/maintainers/diversen)

---

Top Contributors

[![diversen](https://avatars.githubusercontent.com/u/142675?v=4)](https://github.com/diversen "diversen (12 commits)")

---

Tags

exif-gpsphp-gps-exifimagegpsexif

### Embed Badge

![Health badge](/badges/diversen-gps-from-exif/health.svg)

```
[![Health](https://phpackages.com/badges/diversen-gps-from-exif/health.svg)](https://phpackages.com/packages/diversen-gps-from-exif)
```

###  Alternatives

[intervention/image

PHP Image Processing

14.3k203.8M2.5k](/packages/intervention-image)[league/glide

Wonderfully easy on-demand image manipulation library with an HTTP based API.

2.6k52.6M138](/packages/league-glide)[liip/imagine-bundle

This bundle provides an image manipulation abstraction toolkit for Symfony-based projects.

1.7k39.4M239](/packages/liip-imagine-bundle)[spatie/image

Manipulate images with an expressive API

1.4k58.5M176](/packages/spatie-image)[intervention/image-laravel

Laravel Integration of Intervention Image

1558.1M160](/packages/intervention-image-laravel)[fileeye/pel

PHP Exif Library. A library for reading and writing Exif headers in JPEG and TIFF images using PHP.

207.7M2](/packages/fileeye-pel)

PHPackages © 2026

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