PHPackages                             lmerotta/phpokeapi - 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. lmerotta/phpokeapi

ActiveLibrary[API Development](/categories/api)

lmerotta/phpokeapi
==================

A PHP7.1 Wrapper for PokéAPI, with cache and lazy-loading

1.1.5(6y ago)3537018[2 issues](https://github.com/lmerotta/phpokeapi/issues)[1 PRs](https://github.com/lmerotta/phpokeapi/pulls)MITPHPPHP ^7.1.3CI failing

Since Jun 1Pushed 6y ago2 watchersCompare

[ Source](https://github.com/lmerotta/phpokeapi)[ Packagist](https://packagist.org/packages/lmerotta/phpokeapi)[ RSS](/packages/lmerotta-phpokeapi/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (8)Versions (9)Used By (0)

PHPokéAPI
=========

[](#phpokéapi)

A PHP7.1+ wrapper for PokéAPI. This package offers the possibility to query the majority of the PokéAPI endpoints (see exceptions below). It supports caching of responses and lazy-loading relations.

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

[](#installation)

`composer require lmerotta/phpokeapi`

Basic Usage
-----------

[](#basic-usage)

Use`PokeAPI\Client` to query the endpoints directly through the named methods.

```
