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

ActiveLibrary

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

PeteNys Laravel JsonApi Generator

15732PHP

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 today

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 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity34

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://www.gravatar.com/avatar/8302c9decc9fa402539018beb13a0796129c3b1adc89eecb5be75b6e92288a58?d=identicon)[petenystrom](/maintainers/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)
```

PHPackages © 2026

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