PHPackages                             bartosz-maciaszek/php-rtm - 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. bartosz-maciaszek/php-rtm

ActiveLibrary[API Development](/categories/api)

bartosz-maciaszek/php-rtm
=========================

Remember The Milk API client for PHP

1.0.4(12y ago)95567MITPHPPHP &gt;=5.3.0

Since Apr 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bartosz-maciaszek/php-rtm)[ Packagist](https://packagist.org/packages/bartosz-maciaszek/php-rtm)[ RSS](/packages/bartosz-maciaszek-php-rtm/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (5)Versions (6)Used By (0)

Remember The Milk API client for PHP
====================================

[](#remember-the-milk-api-client-for-php)

[![Build Status](https://camo.githubusercontent.com/30e50d1e1df3d833a8ad1f7b384ec9f111420910eb0a00f4fa10c99ff6ce2848/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f626172746f737a2d6d61636961737a656b2f7068702d72746d2e706e67)](http://travis-ci.org/bartosz-maciaszek/php-rtm)

Basic information
-----------------

[](#basic-information)

This library is created to simplify communication with Remember The Milk API. It provides simple, object-oriented interface for PHP programmers. For list of Remember The Milk API methods see [here](https://www.rememberthemilk.com/services/api/methods/). Each group of methods has its own service class located in `src/Rtm/Service/` directory.

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

[](#installation)

The easiest way to start using php-rtm library is to add it as requirement to your `composer.json` file:

```
"bartosz-maciaszek/php-rtm": "dev-master"

```

And update your composer dependencies.

Alternatively, you can clone this repo manually:

```
git clone git://github.com/bartosz-maciaszek/php-rtm.git

```

Basic usage
-----------

[](#basic-usage)

To call any method from API you simply need to create `Rtm` class instance and service object and then push some basic information like your API key and secret. Additionally, you need to acquire Auth Token from Remember The Milk. To do that, user has to authorize your app. See `sample-app/rtm.php` file for details, it is explained step by step.

```
