PHPackages                             mozilla/marketplace - 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. mozilla/marketplace

AbandonedLibrary[API Development](/categories/api)

mozilla/marketplace
===================

Mozilla Marketplace PHP SDK

02PHP

Since Dec 20Pushed 12y ago1 watchersCompare

[ Source](https://github.com/kinncj/Marketplace.PHP)[ Packagist](https://packagist.org/packages/mozilla/marketplace)[ RSS](/packages/mozilla-marketplace/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Marketplace PHP client
======================

[](#marketplace-php-client)

[![Build Status](https://camo.githubusercontent.com/d980a205401fbc5914019a24334e168533b8e6d9773cb6e61172cc45d5154af1/68747470733a2f2f7472617669732d63692e6f72672f6b696e6e636a2f4d61726b6574706c6163652e5048502e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/kinncj/Marketplace.PHP)

A library to interact with Marketplace\_

Allows to validate, create and manipulate webapps and screenshots

Usage

To Test::

```
composer install --dev

./vendor/bin/phpunir

```

Obtain your key and secret from

Instantiate a target object::

```
$target = new Target;
//update the Target URL if necessary with $target->setUrl($url)

```

Instantiate a credential object::

```
$credential = new Credential;
$credential->setConsumerKey(123);
$credential->setConsumerSecret(456);

```

Pass it to the Client::

```
$client = new Mozilla\Marketplace\Client;
$client->setTarget($target);
$client->setCredential($credential);

```

Create webapp if manifest valid::

```
// validate manifest
$response = $client->validateManifest('http://example.com/manifest.webapp');
echo "\n\nManifest id: ".$response['id'];
echo "\nManifest is ";
if ($response["valid"]) {
  echo "valid - creating webapp...";
  // create webapp
  $response = $client->createWebapp($response['id']);
  echo "\n\nWebapp id: ".$response['id'];
} else {
  echo "invalid";
}

```

Requires ########

composer

Changelog ########

- Each Object has it own responsibility
- Each Object can be easily injected in frameworks like SF2 and ZF2
- Guzzle keeps control of OAuth
- 100% Coverage

.. \_Marketplace:

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.7% 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.

### Community

Maintainers

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

---

Top Contributors

[![zalun](https://avatars.githubusercontent.com/u/97885?v=4)](https://github.com/zalun "zalun (32 commits)")[![kinncj](https://avatars.githubusercontent.com/u/292542?v=4)](https://github.com/kinncj "kinncj (10 commits)")[![krydos](https://avatars.githubusercontent.com/u/910691?v=4)](https://github.com/krydos "krydos (1 commits)")[![sgricci](https://avatars.githubusercontent.com/u/80081?v=4)](https://github.com/sgricci "sgricci (1 commits)")

### Embed Badge

![Health badge](/badges/mozilla-marketplace/health.svg)

```
[![Health](https://phpackages.com/badges/mozilla-marketplace/health.svg)](https://phpackages.com/packages/mozilla-marketplace)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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