PHPackages                             woeler/komoot-php - 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. woeler/komoot-php

ActiveLibrary[API Development](/categories/api)

woeler/komoot-php
=================

A PHP library to interact with Komoot

2.1.0(1y ago)11.5k↑16.7%1GPL-3.0-or-laterPHPPHP ^8.2

Since May 6Pushed 1y ago2 watchersCompare

[ Source](https://github.com/Woeler/komoot-php)[ Packagist](https://packagist.org/packages/woeler/komoot-php)[ RSS](/packages/woeler-komoot-php/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (3)Versions (5)Used By (0)

Komoot PHP
==========

[](#komoot-php)

This is a PHP library that can be used to interact with Komoot. It uses the same API the Komoot website uses. It is not officially supported by Komoot to integrate it in third party projects. I just needed a fancy way of interacting with Komoot for a personal project. That is why I created this package.

Usage
-----

[](#usage)

### Authentication

[](#authentication)

You will need to use your Komoot account email address, userid and password to log in.

```
use Woeler\KomootPhp\Api\Komoot;

// Create the api object
$api = new Komoot('my-komoot-account@example.com', 'my-komoot-password', 1234); // Replace 1234 with your userid

// ... You can now start making api calls
```

### Api calls

[](#api-calls)

The endpoints I deemed important have dedicated methods. After logging in, you can simply use them.

```
// Get a single tour
$api->getTour(123);

// Get a single tour as GPX data
$api->getTourGpx(123);

// Get all tours of your account
$api->getAllTours();

// Get a single user
$api->getUser(123);

// Get a single collection
$api->getCollection(123);
```

You may have a look in the `Komoot` class, various other endpoints are also available.

If you have an endpoint that you wish to call, but it does not have a dedicated method, you can use the `customRequest` method.

```
$api->customRequest('https://api.komoot.de/v007/some-other-endpoint', [], 'GET');
```

Upgrading v1.x to v2.x
----------------------

[](#upgrading-v1x-to-v2x)

- Removed the `login()` method. It is no longer needed.
- The `Komoot` constructor now takes the userid as the third argument, this is required
- Removed the `setCookieJar()` method. It is no longer needed.
- Removed the `getCookieJar()` method. It is no longer needed.
- Removed the `setUserId()` method. It is no longer needed.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 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 ~60 days

Total

4

Last Release

608d ago

Major Versions

1.1.0 → 2.0.02024-10-29

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18422096?v=4)[Woeler](/maintainers/Woeler)[@Woeler](https://github.com/Woeler)

---

Top Contributors

[![Woeler](https://avatars.githubusercontent.com/u/18422096?v=4)](https://github.com/Woeler "Woeler (5 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/woeler-komoot-php/health.svg)

```
[![Health](https://phpackages.com/badges/woeler-komoot-php/health.svg)](https://phpackages.com/packages/woeler-komoot-php)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M986](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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