A PHP client for the Leanpub API

v1.2.2 2020-12-15 08:58 UTC

This package is auto-updated.

Last update: 2021-11-15 10:50:11 UTC


This library contains a PHP implementation of a client that can be used to connect to the Leanpub API. It is not feature-complete, but the features that are implemented are implemented fully and they work correctly. Feel free to submit PRs for adding new features or fields to existing DTOs, etc.


Using Composer, require the matthiasnoback/leanpub-api-client package.

This package uses the HTTPPlug to connect to the Leanpub API. This means you can any HTTP client you like by installing its adapter.


See the directory integration-tests/ to find out how to use this library.

There's also a command-line application. To find out more about the available commands, run:


Run with -vvv to see the HTTP requests that the client makes to the Leanpub API.