PHPackages                             mangoweb/apiary-publisher - 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. mangoweb/apiary-publisher

ActiveLibrary[API Development](/categories/api)

mangoweb/apiary-publisher
=========================

CLI and PHP interface for publishing Apiary Blueprints

010PHP

Since Apr 26Pushed 10y agoCompare

[ Source](https://github.com/mangoweb-backend/apiary-publisher)[ Packagist](https://packagist.org/packages/mangoweb/apiary-publisher)[ RSS](/packages/mangoweb-apiary-publisher/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Apiary Publisher
================

[](#apiary-publisher)

[![Downloads this Month](https://camo.githubusercontent.com/9ac2e84b2e3638acc9e1abb43618c539084fee0edfc1b07edf15d13e9c599963/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6d616e676f7765622f6170696172792d7075626c69736865722e737667)](https://packagist.org/packages/mangoweb/apiary-publisher)[![Stable version](https://camo.githubusercontent.com/d695c33ec55b37bf94a52e8fdfb6793284cf435eee0fcbc531c3ce2cde978fc7/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d616e676f7765622f6170696172792d7075626c69736865722e737667)](https://packagist.org/packages/mangoweb/apiary-publisher)

Apiary Publisher provides a simple CLI and PHP interface for publishing [API Blueprints](https://apiblueprint.org/) to [Apiary](https://apiary.io/).

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

[](#installation)

Use composer:

```
$ composer require mangoweb/apiary-publisher
```

Usage example
-------------

[](#usage-example)

### Symfony Console

[](#symfony-console)

Register `Mangoweb\ApiaryPublisher\Bridges\SymfonyConsole\ApiaryPublishCommand` to your Symfony Console application.

```
$app = new Symfony\Component\Console\Application();
$app->add(new Mangoweb\ApiaryPublisher\Bridges\SymfonyConsole\ApiaryPublishCommand);
```

```
# bin/console apiary:publish --name  --token
$ bin/console apiary:publish --name pollsapi  --token 874887d6ecd0b106a47448c5beca1 blueprint.apib
```

### CLI

[](#cli)

```
# apiary-publish
$ apiary-publish pollsapi  874887d6ecd0b106a47448c5beca1 blueprint.apib
```

### PHP

[](#php)

```
$apiName = 'pollsapi';
$apiToken = '874887d6ecd0b106a47448c5beca1';
$code = file_get_contents(__DIR__ . '/blueprint.apib');

$publisher = new ApiaryPublisher($apiName, $apiToken);
$publisher->publish($code);
```

License
-------

[](#license)

MIT. See full [license](license.md).

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6163a0eec16c2bfc9cce0c7c8801b5166cca9af81a146764676059a965044000?d=identicon)[JanTvrdik](/maintainers/JanTvrdik)

![](https://www.gravatar.com/avatar/474f4dd92229f3cfd2c618004b250e2a96ca31f4114c2a0f9c8fb66c65ed7764?d=identicon)[Mikulas](/maintainers/Mikulas)

---

Top Contributors

[![JanTvrdik](https://avatars.githubusercontent.com/u/175109?v=4)](https://github.com/JanTvrdik "JanTvrdik (3 commits)")

### Embed Badge

![Health badge](/badges/mangoweb-apiary-publisher/health.svg)

```
[![Health](https://phpackages.com/badges/mangoweb-apiary-publisher/health.svg)](https://phpackages.com/packages/mangoweb-apiary-publisher)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93452.6k6](/packages/botman-driver-telegram)[pixelant/pxa-social-feed

Add Facebook, Instagram, and Twitter feeds to your site.

2349.3k](/packages/pixelant-pxa-social-feed)

PHPackages © 2026

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