PHPackages                             hubespresso/marketo-rest-api - 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. hubespresso/marketo-rest-api

ActiveLibrary[API Development](/categories/api)

hubespresso/marketo-rest-api
============================

Fork of dchesterton/marketo-rest-api

v0.0.6(8y ago)05.2kMITPHPPHP &gt;=5.3.3

Since Nov 12Pushed 8y ago18 watchersCompare

[ Source](https://github.com/adespresso/marketo-rest-api)[ Packagist](https://packagist.org/packages/hubespresso/marketo-rest-api)[ RSS](/packages/hubespresso-marketo-rest-api/feed)WikiDiscussions master Synced today

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

Marketo REST API Client
=======================

[](#marketo-rest-api-client)

Unofficial PHP client for the Marketo.com REST API: . Requires PHP 5.3.3+

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

[](#installation)

The recommended way of installing the client is via [Composer](http://getcomposer.org/). Simply run the following command to add the library to your composer.json file.

```
composer require dchesterton/marketo-rest-api

```

Setup
-----

[](#setup)

The client is built on [Guzzle 3](http://guzzle3.readthedocs.org) and uses a factory method to create an instance. You must specify either a Munchkin ID or the full url.

\####For Rest Api access:

```
use CSD\Marketo\Client;

$client = Client::factory(array(
    'client_id' => 'Marketo client ID',         // required
    'client_secret' => 'Marketo client secret', // required
    'munchkin_id' => '100-AEK-913' // alternatively, you can supply the full URL, e.g. 'url' => 'https://100-AEK-913.mktorest.com'
));
```

\####For Bulk Api access:

```
use CSD\Marketo\Client;

$client = Client::factory(array(
    'client_id' => 'Marketo client ID',         // required
    'client_secret' => 'Marketo client secret', // required
    'munchkin_id' => '100-AEK-913' // alternatively, you can supply the full URL, e.g. 'url' => 'https://100-AEK-913.mktorest.com'
    'bulk' => true // if uploading leads via file upload (e.g. csv)
));
```

Usage
-----

[](#usage)

View the source of `src/Client.php` for all the available methods.

License
-------

[](#license)

This source is licensed under an MIT License, see the LICENSE file for full details. If you use this code, it would be great to hear from you.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~228 days

Recently: every ~275 days

Total

6

Last Release

3105d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f587947cc074ad8f6983ff2f362a1bba1d77525abd3de81c898988e4ae3c7f27?d=identicon)[adespresso](/maintainers/adespresso)

---

Top Contributors

[![nathanbrauer](https://avatars.githubusercontent.com/u/323945?v=4)](https://github.com/nathanbrauer "nathanbrauer (4 commits)")[![duellj](https://avatars.githubusercontent.com/u/235855?v=4)](https://github.com/duellj "duellj (3 commits)")[![garak](https://avatars.githubusercontent.com/u/179866?v=4)](https://github.com/garak "garak (3 commits)")[![nanaki82](https://avatars.githubusercontent.com/u/6637195?v=4)](https://github.com/nanaki82 "nanaki82 (1 commits)")[![sound-code](https://avatars.githubusercontent.com/u/7687654?v=4)](https://github.com/sound-code "sound-code (1 commits)")

### Embed Badge

![Health badge](/badges/hubespresso-marketo-rest-api/health.svg)

```
[![Health](https://phpackages.com/badges/hubespresso-marketo-rest-api/health.svg)](https://phpackages.com/packages/hubespresso-marketo-rest-api)
```

###  Alternatives

[rackspace/php-opencloud

PHP SDK for Rackspace/OpenStack APIs

4505.9M38](/packages/rackspace-php-opencloud)[cdaguerre/php-trello-api

Trello API v2 client

255674.5k3](/packages/cdaguerre-php-trello-api)[dchesterton/marketo-rest-api

A PHP client for the Marketo.com REST API

39844.3k1](/packages/dchesterton-marketo-rest-api)[carlosio/geckoboard

A PHP library for dealing with Geckoboard API (http://www.geckoboard.com)

41172.6k](/packages/carlosio-geckoboard)[jlinn/mandrill-api-php

A PHP client library for Mandrill's REST API

23119.4k](/packages/jlinn-mandrill-api-php)[boletosimples/boletosimples

A PHP client library for easily accessing Boleto Simples API.

1826.9k](/packages/boletosimples-boletosimples)

PHPackages © 2026

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