PHPackages                             sjaakmoes/pokapi - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. sjaakmoes/pokapi

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

sjaakmoes/pokapi
================

v2.0.4(9y ago)8492[3 issues](https://github.com/Droeftoeter/pokapi/issues)PHPPHP ^7.1

Since Aug 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Droeftoeter/pokapi)[ Packagist](https://packagist.org/packages/sjaakmoes/pokapi)[ RSS](/packages/sjaakmoes-pokapi/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (6)Versions (15)Used By (0)

PHP Pokemon Go API
==================

[](#php-pokemon-go-api)

Pokemon API PHP. Not finished at all so far.

Supports request signing.

Captcha
-------

[](#captcha)

Pokapi can now solve captchas if you provide a Captcha-Solver. A class for AntiCaptcha.com is built in:

```
// Solver
$solver = new AntiCaptcha("your_api_key_here", "PoGo_site_key");

$api->setCaptchaSolver($solver);

// The checkChallenge function will now try to resolve a possible captcha automatically with the provided resolver.
$result = $api->checkChallenge(); // FALSE on no capture, TRUE on resolved. Exception on failure to resolve.
```

You can implement your own resolvers by implementing the `Solver` interface.

Hashing Server
--------------

[](#hashing-server)

Pokapi now supports the use of a Hashing Server, see Usage.

Requirements
------------

[](#requirements)

- PHP 7.1+
- [php-xxhash](https://github.com/MatthewKingDev/php-xxhash) extension
- 64-bit PHP
- Hashing server if you want to use the latest version (0.57.2)

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

[](#installation)

To install with Composer

`composer require sjaakmoes/pokapi`

Usage
-----

[](#usage)

```
// PTC Account
$authentication = new TrainersClub('username', 'password');
$position = new Position($latitude, $longitude, $altitude);
$deviceInfo = DeviceInfo::getDefault($uniqueDeviceId);

// Version
$version = new Version\Latest(); // 0.57.2 - You need a hashing server for this one.
$version = new Version\Legacy(); // 0.45.0

// Pogodev.io hashing server
$hashProvider = new Hashing\Pogodev("your_api_key_here");

$api = new API($version, $authentication, $position, $deviceInfo, $hashProvider);

// Initializes like the real client
$api->initialize();

// Accept ToS
$api->acceptTerms();

// Execute operation
$getPlayerResponse = $api->getPlayerData();
$mapObjects = $api->getMapObjects();
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 88.9% 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 ~16 days

Recently: every ~4 days

Total

14

Last Release

3399d ago

Major Versions

v0.35.x-dev → v1.1.12016-08-22

v1.1.1 → v2.0.02017-02-18

PHP version history (2 changes)v1.0PHP ^7.0

v2.0.0PHP ^7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/9b5e48c428d633517e88886e4f93a05250e343cfceaa96a1f94117f74576eab3?d=identicon)[Droeftoeter](/maintainers/Droeftoeter)

---

Top Contributors

[![Droeftoeter](https://avatars.githubusercontent.com/u/10672650?v=4)](https://github.com/Droeftoeter "Droeftoeter (72 commits)")[![Ni42](https://avatars.githubusercontent.com/u/9167950?v=4)](https://github.com/Ni42 "Ni42 (5 commits)")[![jaspervdm](https://avatars.githubusercontent.com/u/761205?v=4)](https://github.com/jaspervdm "jaspervdm (4 commits)")

---

Tags

php-pokemonpokemonpokemongo

### Embed Badge

![Health badge](/badges/sjaakmoes-pokapi/health.svg)

```
[![Health](https://phpackages.com/badges/sjaakmoes-pokapi/health.svg)](https://phpackages.com/packages/sjaakmoes-pokapi)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.8k69.4k](/packages/grumpydictator-firefly-iii)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751284.3k37](/packages/civicrm-civicrm-core)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19664.8M1.6k](/packages/drupal-core)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

562565.8k42](/packages/ecotone-ecotone)[avalara/avataxclient

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

528.3M7](/packages/avalara-avataxclient)

PHPackages © 2026

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