A PHP client for the Leanpub API
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
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:
-vvv to see the HTTP requests that the client makes to the Leanpub API.