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(10y ago)1776[5 PRs](https://github.com/WyriHaximus/php-api-client-resource-generator/pulls)MITPHPPHP ^7.0

Since Jun 2Pushed 11mo 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 1w 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

31

—

LowBetter than 65% of packages

Maintenance38

Infrequent updates — may be unmaintained

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

3721d 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

[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k19](/packages/tempest-framework)[sylius/sylius

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

8.5k6.0M772](/packages/sylius-sylius)[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k148.6M669](/packages/zircote-swagger-php)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k15.0M69](/packages/knuckleswtf-scribe)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.8k3.9M534](/packages/pimcore-pimcore)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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