PHPackages                             jaspervdm/pogoapi-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. jaspervdm/pogoapi-php

AbandonedArchivedLibrary[API Development](/categories/api)

jaspervdm/pogoapi-php
=====================

API for Pokemon Go

11225[1 issues](https://github.com/jaspervdm/pogoapi-php/issues)PHP

Since Sep 1Pushed 9y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

POGOAPI-PHP
===========

[](#pogoapi-php)

API for Pokemon Go

Progress
--------

[](#progress)

- Login with google
- Login with PTC
- Uk6 compatible
- Obtain endpoint
- Obtain profile
- Obtain map objects (pokemons/pokestops/gyms)

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

[](#installation)

Add the following fields in your project `composer.json`:

```
{
  "require": {
    "jaspervdm/pogoapi-php": "dev-master"
  },
  "minimum-stability": "dev",
  "prefer-stable": true
}
```

Usage
-----

[](#usage)

```
// First set up some logger
$logger = new \Monolog\Logger("POGOAPI");

// Set initial location
$location = new \POGOAPI\Map\Location(LATITUDE, LONGITUDE, ALTITUDE);

// Create a Session instance
$session = new \POGOAPI\Session\GoogleSession($logger, $location, USERNAME, PASSWORD);
$session->authenticate();
$session->createEndpoint();

// At this point one can communicate with the pokemon go servers, for example:
$profile = $session->getProfile();
echo "My username is ".$profile->getUsername()."\n";
```

See also the `examples/` directory

Contributions
-------------

[](#contributions)

- [jaspervdm](https://github.com/jaspervdm)
- [barryvdh](https://github.com/barryvdh)

Credits
-------

[](#credits)

- [AeonLucid](https://github.com/AeonLucid) for the [proto files](https://github.com/AeonLucid/POGOProtos)
- [POGO-PHP](https://github.com/POGO-PHP) for the [pure PHP implementation of encrypt.c](https://github.com/POGO-PHP/POGOEncrypt-PHP)
- [Sjaakmoes](https://github.com/Sjaakmoes) for the [correct implementation of request signing](https://github.com/Sjaakmoes/pokapi/blob/27cb0281500821b7b2c64150aa779a5a997080c3/src/Pokapi/Rpc/Service.php#L243)
- [MatthewKingDev](https://github.com/MatthewKingDev) for the [modified xxhash](https://github.com/MatthewKingDev/php-xxhash)

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ae0aba2fd733a25d508d2b3b581259ce65adce677ea529f9248fa321ccb16e6?d=identicon)[jaspervdm](/maintainers/jaspervdm)

---

Top Contributors

[![jaspervdm](https://avatars.githubusercontent.com/u/761205?v=4)](https://github.com/jaspervdm "jaspervdm (15 commits)")[![barryvdh](https://avatars.githubusercontent.com/u/973269?v=4)](https://github.com/barryvdh "barryvdh (5 commits)")

### Embed Badge

![Health badge](/badges/jaspervdm-pogoapi-php/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k12](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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