Skip to content

Eloquent model to GraphQL schema transpiler Artisan command for Laravel

License

Notifications You must be signed in to change notification settings

adrenallen/eloquent-graphql-transpiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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} 

About

Eloquent model to GraphQL schema transpiler Artisan command for Laravel

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages