PHPackages                             bab/gpx-cli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. bab/gpx-cli

ActiveProject[CLI &amp; Console](/categories/cli)

bab/gpx-cli
===========

A CLI application to deal with GPX files.

05PHP

Since May 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/odolbeau/gpx-cli)[ Packagist](https://packagist.org/packages/bab/gpx-cli)[ RSS](/packages/bab-gpx-cli/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

GPX cli tool
============

[](#gpx-cli-tool)

[![Build Status](https://camo.githubusercontent.com/43b22a72bd9576d4576b05ce3198ef4f59697eb0f0aafb108b1e4dd6c23a8360/68747470733a2f2f7472617669732d63692e6f72672f6f646f6c626561752f6770782d636c692e706e67)](https://travis-ci.org/odolbeau/gpx-cli)[![Latest Stable Version](https://camo.githubusercontent.com/73079a46f65e48eed98134c84d35d2b7b6e39f09ec3ff0e7f74106ca3fbfcf91/68747470733a2f2f706f7365722e707567782e6f72672f6261622f6770782d636c692f762f737461626c652e737667)](https://packagist.org/packages/bab/gpx-cli)[![Latest Unstable Version](https://camo.githubusercontent.com/10ab01f5754cdeb2d16da3a70b0aff4a2f1131c60639c36db14cb02e1e4fc14b/68747470733a2f2f706f7365722e707567782e6f72672f6261622f6770782d636c692f762f756e737461626c652e737667)](https://packagist.org/packages/bab/gpx-cli)

GPX cli is a PHP cli tool to deal with GPX files.

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

[](#installation)

```
composer create-project bab/gpx-cli

```

Usage
-----

[](#usage)

Right now, you can display some stats regarding a given GPX file:

```
./console stat my/gpx/file

```

If needed, you can also split a gpx file containing several tracks into several gpx files

```
./console split my/gpx/file path/to/output/

```

You can also clean a file by removing all duplicated points

```
./console remove-duplicate-points my/gpx/file path/to/output/

```

License
-------

[](#license)

This tool is released under the MIT License. See the bundled LICENSE file for details.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6662493c184b0ed32978349f4162cac376a2e1026c7f3a06cf1a9565867ecf15?d=identicon)[odolbeau](/maintainers/odolbeau)

---

Tags

gpxgpx-cligpx-datagpx-filesgpx-libraryphp-cli

### Embed Badge

![Health badge](/badges/bab-gpx-cli/health.svg)

```
[![Health](https://phpackages.com/badges/bab-gpx-cli/health.svg)](https://phpackages.com/packages/bab-gpx-cli)
```

###  Alternatives

[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24726.4M22](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

13045.3M6.2k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71464.1k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20718.9k21](/packages/winbox-args)

PHPackages © 2026

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