PHPackages                             wyrihaximus/api-client-resource-generator - 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. wyrihaximus/api-client-resource-generator

Abandoned → [api-clients/openapi-client-generator](/?search=api-clients%2Fopenapi-client-generator)ArchivedLibrary[API Development](/categories/api)

wyrihaximus/api-client-resource-generator
=========================================

0.9.0(9y ago)1775[5 PRs](https://github.com/WyriHaximus/php-api-client-resource-generator/pulls)MITPHPPHP ^7.0

Since Jun 2Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/WyriHaximus/php-api-client-resource-generator)[ Packagist](https://packagist.org/packages/wyrihaximus/api-client-resource-generator)[ RSS](/packages/wyrihaximus-api-client-resource-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (8)Used By (0)

API Client Foundation for PHP 7
===============================

[](#api-client-foundation-for-php-7)

[![Linux Build Status](https://camo.githubusercontent.com/3a58b31c1992085021a27ad132dcda6f9d4336c3077c2334b8217da81ea0e9a6/68747470733a2f2f7472617669732d63692e6f72672f57797269486178696d75732f7068702d6170692d636c69656e742d7265736f757263652d67656e657261746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/WyriHaximus/php-api-client-resource-generator)[![Windows Build status](https://camo.githubusercontent.com/8878eb0d45a02b9b77075221767562b6a9ae2d8646ff970363136595466f6c83/68747470733a2f2f63692e6170707665796f722e636f6d2f6170692f70726f6a656374732f7374617475732f64766375396c38726d367368793774333f7376673d74727565)](https://ci.appveyor.com/project/WyriHaximus/php-api-client-resource-generator)[![Latest Stable Version](https://camo.githubusercontent.com/660751f4d91343aa2a7586a510148272540b050442d404d3a43c148de8b58c1a/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f6170692d636c69656e742d7265736f757263652d67656e657261746f722f762f737461626c652e706e67)](https://packagist.org/packages/WyriHaximus/api-client-resource-generator)[![Total Downloads](https://camo.githubusercontent.com/1b9a42d42ce317e740bef58c7a109ab52735ba3bf2e7b6db562c137781e23565/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f6170692d636c69656e742d7265736f757263652d67656e657261746f722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/WyriHaximus/api-client-resource-generator)[![Code Coverage](https://camo.githubusercontent.com/f152ce158e230daa9b3a9f22d296bb0d8ef96b4d2b19116abc387a972c180f66/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f57797269486178696d75732f7068702d6170692d636c69656e742d7265736f757263652d67656e657261746f722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/WyriHaximus/php-api-client-resource-generator/?branch=master)[![License](https://camo.githubusercontent.com/69453a01fc47f0be504aeed0ddf1aaacf002c1b3b0ab329f42b4780bb8cefea5/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f6170692d636c69656e742d7265736f757263652d67656e657261746f722f6c6963656e73652e706e67)](https://packagist.org/packages/wyrihaximus/api-client-resource-generator)[![PHP 7 ready](https://camo.githubusercontent.com/d62464569bef36dfd780868bc77d52011d82df52befffcddb3582b9f09b5e82a/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f57797269486178696d75732f7068702d6170692d636c69656e742d7265736f757263652d67656e657261746f722f62616467652e737667)](https://appveyor-ci.org/WyriHaximus/php-api-client-resource-generator)

Goals
=====

[](#goals)

- Tool for easy wireframing of resources for `wyrihaximus/api-client` based API clients

Installation
============

[](#installation)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `^`.

```
composer require wyrihaximus/api-client-resource-generator

```

Usage
=====

[](#usage)

Pas a `definition` `YAML` file and a `path` where to write the generated files.

```
./vendor/bin/api-client-resource-generator [definition] [path]

```

For example:

```
./vendor/bin/api-client-resource-generator ./yaml/project.yaml ./src/Resource

```

Generate multiple resources at once:

```
./vendor/bin/api-client-resource-generator ./yaml/*.yaml ./src/Resource

```

License
=======

[](#license)

The MIT License (MIT)

Copyright (c) 2016 Cees-Jan Kiewiet

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance43

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

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

3629d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (96 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

hacktoberfestphp

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/wyrihaximus-api-client-resource-generator/health.svg)

```
[![Health](https://phpackages.com/badges/wyrihaximus-api-client-resource-generator/health.svg)](https://phpackages.com/packages/wyrihaximus-api-client-resource-generator)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M112](/packages/darkaonline-l5-swagger)[jane-php/jane-php

All jane libraries into one repository

678254.7k4](/packages/jane-php-jane-php)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[code-lts/doctum

Doctum, a PHP API documentation generator. Fork of Sami

35077.9k31](/packages/code-lts-doctum)

PHPackages © 2026

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