PHPackages                             indiana-university/puppet-forge-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. indiana-university/puppet-forge-api-php

ActiveLibrary[API Development](/categories/api)

indiana-university/puppet-forge-api-php
=======================================

A set of classes meant to make interacting with the Puppet Forge easier

v1.1.1(3y ago)111BSD-3-ClausePHPPHP ^7.3|^8CI failing

Since Feb 27Pushed 3y ago1 watchersCompare

[ Source](https://github.com/indiana-university/puppet-forge-api-php)[ Packagist](https://packagist.org/packages/indiana-university/puppet-forge-api-php)[ Docs](https://github.iu.edu/Webtech/)[ RSS](/packages/indiana-university-puppet-forge-api-php/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

puppet-forge-php-api
====================

[](#puppet-forge-php-api)

A PHP interface to the Puppet Forge REST API

[![GitHub Workflow Status](https://camo.githubusercontent.com/e909af895ffd027385ff5a8d4519376f170cdf12eb0fed24f09eebc5df717349/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f696e6469616e612d756e69766572736974792f7075707065742d666f7267652d6170692d7068702f504850253230436f6d706f7365723f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/e909af895ffd027385ff5a8d4519376f170cdf12eb0fed24f09eebc5df717349/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f696e6469616e612d756e69766572736974792f7075707065742d666f7267652d6170692d7068702f504850253230436f6d706f7365723f7374796c653d666c61742d737175617265)[![Travis (.org)](https://camo.githubusercontent.com/2e7a35628b261a1ba0cbbe23d071bbf5a40ba6ea92d8cdc4070a72d20804758b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f696e6469616e612d756e69766572736974792f7075707065742d666f7267652d6170692d7068703f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/2e7a35628b261a1ba0cbbe23d071bbf5a40ba6ea92d8cdc4070a72d20804758b/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f696e6469616e612d756e69766572736974792f7075707065742d666f7267652d6170692d7068703f7374796c653d666c61742d737175617265)[![Scrutinizer code quality (GitHub/Bitbucket)](https://camo.githubusercontent.com/251a1dc90b37f5795f73bce1b53b45ca11bf10c190c039f9f6e0b593f8845a0e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f696e6469616e612d756e69766572736974792f7075707065742d666f7267652d6170692d7068703f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/251a1dc90b37f5795f73bce1b53b45ca11bf10c190c039f9f6e0b593f8845a0e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f7175616c6974792f672f696e6469616e612d756e69766572736974792f7075707065742d666f7267652d6170692d7068703f7374796c653d666c61742d737175617265)[![Packagist](https://camo.githubusercontent.com/924fe21cae705224947709a731f984add46124850ccf1101d8e9cde413f87d33/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f696e6469616e612d756e69766572736974792f7075707065742d666f7267652d6170692d7068703f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/924fe21cae705224947709a731f984add46124850ccf1101d8e9cde413f87d33/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f696e6469616e612d756e69766572736974792f7075707065742d666f7267652d6170692d7068703f7374796c653d666c61742d737175617265)

Requirements
------------

[](#requirements)

This library requires at least PHP 7.3

Usage
-----

[](#usage)

```
use Edu\Iu\Uits\Webtech\ForgeApi\ForgeApi;

$api = new ForgeApi('YOUR API KEY HERE');

/**
 * User operations
 */

// Listing users
$api->user()->list([
    // See official API documentation for parameters
    'limit' => 20,
]);

// Fetching a user
$api->user('puppetlabs')->fetch();

/**
* Module operations
 */

// Fetch a module
$api->module('puppetlabs-apache')->fetch();

// Delete a module
$api->module('puppetlabs-apache')->delete('Broken code');

// Deprecate a module
$api->module('puppetlabs-apache')->deprecate(
    'No longer maintained',
    'puppet-nginx'
);

// List modules
$api->module()->list(['limit' => 20]);

/**
 * Release operations
 */

// List releases
$api->release()->list(['limit' => 20]);

// Create a release
$api->release('puppetlabs-apache')->create('base64 encoded string');

// Fetch a release
$api->release('puppetlabs-apache-4.0.0')->fetch();

// Delete a release
$api->release('puppetlabs-apache-4.0.0')->delete('bugs');
```

Limitations
-----------

[](#limitations)

1. Currently module release plans are not supported. This is strictly because of time limitations. They will *probably* be supported in the future.
2. It is not currently possible to customize the user agent.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Every ~426 days

Total

3

Last Release

1410d ago

PHP version history (2 changes)v1.0PHP ^7.3

v1.1PHP ^7.3|^8

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cd3e0962f4c279ae14bab14c1a450e17f8dec2bfe0a7751f1362894eb48dd7f?d=identicon)[indiana-university](/maintainers/indiana-university)

---

Top Contributors

[![avitacco](https://avatars.githubusercontent.com/u/48032399?v=4)](https://github.com/avitacco "avitacco (2 commits)")[![jhoerr](https://avatars.githubusercontent.com/u/1151206?v=4)](https://github.com/jhoerr "jhoerr (1 commits)")

---

Tags

phpapipuppetmoduleforge

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/indiana-university-puppet-forge-api-php/health.svg)

```
[![Health](https://phpackages.com/badges/indiana-university-puppet-forge-api-php/health.svg)](https://phpackages.com/packages/indiana-university-puppet-forge-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)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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