2017 © Pedro Peláez
 

library inbox

PHP wrapper for the Inbox API

image

rmasters/inbox

PHP wrapper for the Inbox API

  • Saturday, August 2, 2014
  • by rmasters
  • Repository
  • 1 Watchers
  • 3 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Inbox

A PHP wrapper around the Inbox API., (*1)

Build Status Coverage Status Latest Stable Version License, (*2)

Installation

This Composer package is named rmasters/inbox on Packagist. You can install it:, (*3)

  • using the Composer tool: composer require "rmasters/inbox:~1",
  • or by adding to your composer.json's require section: "rmasters/inbox": "~1".

This package is early on in development - expect the API to change a little until a v1.0 stable release., (*4)

Requirements

Usage

Take a look over the API documentation first, to familiarise yourself with the Inbox concepts., (*5)

// Specify a custom server, or use inboxapp.com by default
$inbox = new Inbox\Inbox('http://127.0.0.1:5555/');

// Get namespace (email account) information
$accountId = 'awa6ltos76vz5hvphkp8k17nt';
$account = $inbox->account($accountId); // => Account

// Get messages
$inbox->messages($account)->all(); // => Message[]
$inbox->messages($accountId)->get($messageId); // => Message

Orientation

A few notes and things to watch out for:, (*6)

  • Given that namespace is a reserved word in PHP, Namespaces are referred to as Accounts.

The Versions

02/08 2014

dev-master

9999999-dev

PHP wrapper for the Inbox API

  Sources   Download

MIT

The Requires

 

The Development Requires