PHPackages                             petenys/laravel-json-api-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. petenys/laravel-json-api-generator

ActiveLibrary[API Development](/categories/api)

petenys/laravel-json-api-generator
==================================

PeteNys Laravel JsonApi Generator

15732PHPCI failing

Since Jan 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/petenys/laravel-json-api-generator)[ Packagist](https://packagist.org/packages/petenys/laravel-json-api-generator)[ RSS](/packages/petenys-laravel-json-api-generator/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PeteNys Laravel Generator
=========================

[](#petenys-laravel-generator)

lets say you build a new table and run the migration (invoices)... you then just run the following command

php artisan petenys:json\_api Invoice --fromTable --tableName=invoices --relations

builds the Model, Repository, Policy, Observer, Adapter, Schema, Validator and adds the route, json-api-v1 resource and adds the Observer to the ObserverProvider adds all the relations it can figure out from foreign keys as well

\--include=controller,tests will also add those objects

or you can call any build by itself... petenys:adapter or petenys:controller or etc

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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://avatars.githubusercontent.com/u/925788?v=4)[petenystrom](/maintainers/petenystrom)[@petenystrom](https://github.com/petenystrom)

---

Top Contributors

[![petenys](https://avatars.githubusercontent.com/u/22920925?v=4)](https://github.com/petenys "petenys (3 commits)")[![sigues](https://avatars.githubusercontent.com/u/376216?v=4)](https://github.com/sigues "sigues (1 commits)")

### Embed Badge

![Health badge](/badges/petenys-laravel-json-api-generator/health.svg)

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

###  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

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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