Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 770 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 770 Bytes

Eloquent GraphQL Transpiler

A project to automatically generate GraphQL schemas from Eloquent models.

This is a Laravel artisan command and can be installed via composer using the repo URL.

This is intended for use with Lightouse PHP but can likely be modified to work elsewhere.

Example usage

graphql:transpile
    {model : Full path to a model, or a model name itself can be passed to default into looking at the graphql configured model folders}
    {--noOverwrite : Do not overwrite an existing schema file for this model if it exists already}
    {--noRelationships : Do not scaffold out any relationships for this model}