Skip to content

shakeel-nodesol/lighthouse-schema-generator

 
 

Repository files navigation

Lighthouse schema generator

CONTENTS OF THIS FILE

  • Updates
  • Description
  • Key packages
  • Installation
  • Usage

UPDATES

2021-12-21 - added generation graphql schemas (ONLY TYPES) based on Laravel models and tables.

2023-09-10 - upgraded to lighthouse 6.16.

2024-02-03 - Added initial support for generating (QUERIES & MUTATIONS).

DESCRIPTION

Lighthouse schema generator is a package for generation graphql schemas made as an extension for "nuwave/lighthouse" package.

KEY PACKAGES

INSTALLATION

  1. Set up database connection in .env configuration file.
  2. Run:
    composer require nodesol/lighthouse-schema-generator

USAGE

Graphql schemas generation:

php artisan make:graphql-schema 
-f|force - force schemas generation, rewriting existing schemas --models-path= - Path for models folder, relative to app path

About

Lighthouse Graphql Schema Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 96.1%
  • Dockerfile 3.9%