PHPackages                             nodesol/lighthouse-schema-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. nodesol/lighthouse-schema-generator

ActiveLibrary[API Development](/categories/api)

nodesol/lighthouse-schema-generator
===================================

Laravel GraphQL Schema Generator

1.0.1(2y ago)3782MITPHPPHP &gt;= 8.1

Since Feb 2Pushed 2y agoCompare

[ Source](https://github.com/nodesol/lighthouse-schema-generator)[ Packagist](https://packagist.org/packages/nodesol/lighthouse-schema-generator)[ RSS](/packages/nodesol-lighthouse-schema-generator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

Lighthouse schema generator
===========================

[](#lighthouse-schema-generator)

CONTENTS OF THIS FILE
---------------------

[](#contents-of-this-file)

- Updates
- Description
- Key packages
- Installation
- Usage

UPDATES
-------

[](#updates)

2021-12-21 - added generation graphql schemas (**ONLY TYPES**) based on [Laravel](https://github.com/laravel/laravel) models and tables.

2023-09-10 - upgraded to lighthouse 6.16.

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

DESCRIPTION
-----------

[](#description)

Lighthouse schema generator is a package for generation graphql schemas made as an extension for ["nuwave/lighthouse"](https://github.com/nuwave/lighthouse) package.

KEY PACKAGES
------------

[](#key-packages)

- Lighthouse-php ()
- Doctrine/DBAL ()

INSTALLATION
------------

[](#installation)

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

USAGE
-----

[](#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
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

827d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/172cfa7aa8371c021086ff905b18800e5085d7a465cc02ced76001d9f3c41761?d=identicon)[amermchaudhary](/maintainers/amermchaudhary)

---

Top Contributors

[![meharwaheed](https://avatars.githubusercontent.com/u/54740208?v=4)](https://github.com/meharwaheed "meharwaheed (10 commits)")[![amermchaudhary](https://avatars.githubusercontent.com/u/2386728?v=4)](https://github.com/amermchaudhary "amermchaudhary (8 commits)")[![light-speak](https://avatars.githubusercontent.com/u/31815444?v=4)](https://github.com/light-speak "light-speak (3 commits)")[![DimaSmile](https://avatars.githubusercontent.com/u/25588793?v=4)](https://github.com/DimaSmile "DimaSmile (2 commits)")[![DM-la](https://avatars.githubusercontent.com/u/85396911?v=4)](https://github.com/DM-la "DM-la (2 commits)")[![Jlecter](https://avatars.githubusercontent.com/u/57863101?v=4)](https://github.com/Jlecter "Jlecter (1 commits)")

---

Tags

laravellighthouse-schema-generator

###  Code Quality

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nodesol-lighthouse-schema-generator/health.svg)

```
[![Health](https://phpackages.com/badges/nodesol-lighthouse-schema-generator/health.svg)](https://phpackages.com/packages/nodesol-lighthouse-schema-generator)
```

###  Alternatives

[flat3/lodata

OData v4.01 Producer for Laravel

96320.9k](/packages/flat3-lodata)[yakovenko/laravel-lighthouse-graphql-multi-schema

A Laravel package that provides multi-schema support for Lighthouse GraphQL.

1562.5k](/packages/yakovenko-laravel-lighthouse-graphql-multi-schema)[nikolag/laravel-square

Square API integration with Laravel built on nikolag/core

3827.3k](/packages/nikolag-laravel-square)

PHPackages © 2026

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