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

ActiveLibrary

meharwaheed/lighthouse-schema-generator
=======================================

Laravel GraphQL Schema Generator

0264PHP

Since Mar 29Pushed 1y agoCompare

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

READMEChangelogDependenciesVersions (1)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 meharwaheed/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

17

—

LowBetter than 8% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8ce7f6fc6141e629b1c0b4927a48fa2c2992f917971b6a350700702b69609538?d=identicon)[meharwaheed](/maintainers/meharwaheed)

---

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 (6 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)")

### Embed Badge

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

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

PHPackages © 2026

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