PHPackages                             huangwalker/api-model-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. huangwalker/api-model-generator

ActiveLibrary[API Development](/categories/api)

huangwalker/api-model-generator
===============================

person simple tools for building APIs template : console generator and API skeleton

1.0.0(6y ago)014MITPHPPHP &gt;=5.4.0

Since Feb 23Pushed 6y ago1 watchersCompare

[ Source](https://github.com/WalkreHuang/personal-api-generate)[ Packagist](https://packagist.org/packages/huangwalker/api-model-generator)[ Docs](https://github.com/WalkreHuang/personal-api-generate)[ RSS](/packages/huangwalker-api-model-generator/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Laravel Api Generator
=====================

[](#laravel-api-generator)

*Person simple tools for building APIs template : console generator and API skeleton*

Introduction
------------

[](#introduction)

This package provides feature

1. Console generator which creates Controller, Fractal Transformer and routes in a single command.

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

[](#installation)

1. Run `composer require huangwalker/api-model-generator`
2. Register a service provider in the `app.php` configuration file

```

```

3. Copy basic folder structure to app/Api `cp -R vendor/huangwalker/api-model-generator/templates/Api app/Api` and check what you got there. If you need you can use different paths later.

Usage
-----

[](#usage)

### Generator

[](#generator)

The only console command that is added is `artisan make:api `.

Imagine you need to create a rest api to list/create/update etc users from users table. To achieve that you need to do lots of boilerplate operations - create controller, transformer, set up needed routes.

`php artisan make:api User` does all the work for you.

### Configuration

[](#configuration)

All paths and generator's stubs are configurable.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2269d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b60d087f01f65208b8ffbc6ca6a2af97e62cf905214c515958ee0767a4199a6?d=identicon)[WalkreHuang](/maintainers/WalkreHuang)

---

Top Contributors

[![WalkreHuang](https://avatars.githubusercontent.com/u/28650767?v=4)](https://github.com/WalkreHuang "WalkreHuang (10 commits)")

---

Tags

apigeneratorpersonal

### Embed Badge

![Health badge](/badges/huangwalker-api-model-generator/health.svg)

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

PHPackages © 2026

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