Download the PHP package sibyx/phpgpx without Composer
On this page you can find all versions of the php package sibyx/phpgpx. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package phpgpx
Short Description A simple PHP library for GPX manipulation
License MIT
Homepage https://sibyx.github.io/phpGPX/
Informations about the package phpgpx
phpGPX
Simple library written in PHP for reading and creating GPX files. Documentation is available using GitHub pages generated by Jekyll.
Contribution and feedback is welcome! Please check the issues for TODO. I will be happy every feature or pull request.
Repository branches:
master: latest stable versiondevelop: works on2.x
Features
- Full support of official specification.
- Statistics calculation.
- Extensions.
- JSON & XML & PHP Array output.
Supported Extensions
Stats calculation
- (Smoothed) Distance (m)
- Average speed (m/s)
- Average pace (s/km)
- Min / max altitude (m)
- Min / max coordinates ([lat,lng])
- (Smoothed) Elevation gain / loss (m)
- Start / end (DateTime object)
- Start / end coordinates ([lat,lng])
- Duration (seconds)
Installation
You can easily install phpGPX library with composer. There is no stable release yet, so please use release candidates.
Examples
Open GPX file and load basic stats
Writing to file
Creating file from scratch
Currently, supported output formats:
- XML
- JSON
Configuration
Use the static constants in phpGPX to modify behaviour.
I wrote this library as part of my job in Backbone s.r.o..
License
This project is licensed under the terms of the MIT license.
All versions of phpgpx with dependencies
lib-libxml Version *
ext-simplexml Version *
ext-dom Version *