PHPackages                             dav-m85/pebble-api-php - 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. dav-m85/pebble-api-php

ActiveLibrary[API Development](/categories/api)

dav-m85/pebble-api-php
======================

0.0.1(11y ago)8261MITPHPPHP &gt;=5.4

Since May 12Pushed 11y ago4 watchersCompare

[ Source](https://github.com/dav-m85/pebble-api-php)[ Packagist](https://packagist.org/packages/dav-m85/pebble-api-php)[ RSS](/packages/dav-m85-pebble-api-php/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

[![Build Status](https://camo.githubusercontent.com/1498c169b32f5b10239bcae0efff48ce5a4c67914e5f3c903be7f0dc3a45a8d8/68747470733a2f2f7472617669732d63692e6f72672f6461762d6d38352f706562626c652d6170692d7068702e737667)](https://travis-ci.org/dav-m85/pebble-api-php)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/f75fe8d670eddf312ba5f22ab33b48ef1b3d1e383e59b188cfee354046186351/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6461762d6d38352f706562626c652d6170692d7068702f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dav-m85/pebble-api-php/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/4ad855742c822d775362464c7341242ea4fce5ef72bc645e214182b7fe6313d8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6461762d6d38352f706562626c652d6170692d7068702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dav-m85/pebble-api-php/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/331c2f7d2a1efbad1e4b6128e5f135c5616437772ac43b9b29af9d1197d52d52/68747470733a2f2f706f7365722e707567782e6f72672f6461762d6d38352f706562626c652d6170692d7068702f646f776e6c6f616473)](https://packagist.org/packages/dav-m85/pebble-api-php)

Library to interact with Pebble Timeline API.

Why should I use it ?
---------------------

[](#why-should-i-use-it-)

Because you love when ...

- It's tested code
- It can be installed with composer
- It follows semver
- It's already used in production

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

[](#installation)

With composer installed

```
php composer.phar require dav-m85/pebble-api-php:dev-master
```

Usage
-----

[](#usage)

```
// Define a pin with an Array
$pin = new PebbleApi\Pin("reservation-1395203", new \DateTime("2014-03-07T09:01:10.229Z"), array(
    "layout" => array(
    	...
    )
));

// Or using object oriented approach (still work in progress)
$layout = new PebbleApi\Layout\GenericLayout();
$layout->setForegroundColor(PebbleApi\LayoutInterface::COLOR_BLUE);
$pin = new PebbleApi\Pin("reservation-1395203", new \DateTime("2014-03-07T09:01:10.229Z"), $layout);
$pin->setDuration(120);

// Then spawn a client
$client = new PebbleApi\Client();

// Create (or update) a pin
$user = new PebbleApi\User($userToken);
$client->put($user, $pin);

// Delete a pin
$client->delete($user, $pin);

// Create a pin for all users (shared pin)
$sharedTopic = new PebbleApi\SharedTopic($apiToken, array('baseball', 'giants'));

$client->put($sharedTopic, $pin);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4024d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c32ed95d482fa49b3b5a0bc08e6a414d422c8b8ad518fca35fefb0b1f3c9b3d0?d=identicon)[dav-m85](/maintainers/dav-m85)

---

Top Contributors

[![dav-m85](https://avatars.githubusercontent.com/u/1519726?v=4)](https://github.com/dav-m85 "dav-m85 (25 commits)")

---

Tags

apiPebble

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dav-m85-pebble-api-php/health.svg)

```
[![Health](https://phpackages.com/badges/dav-m85-pebble-api-php/health.svg)](https://phpackages.com/packages/dav-m85-pebble-api-php)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[get-stream/stream-chat

A PHP client for Stream Chat (https://getstream.io/chat/)

301.8M2](/packages/get-stream-stream-chat)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
