lighthouse

A framework for serving GraphQL from Laravel (by nuwave)

Lighthouse Alternatives

Similar projects and alternatives to lighthouse

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better lighthouse alternative or higher similarity.

lighthouse reviews and mentions

Posts with mentions or reviews of lighthouse. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-10.
  • Go with PHP
    19 projects | news.ycombinator.com | 10 May 2023
    Sure.

    1. SQLC is little more than a template generator for Prepared Statements wrapped in a class. [https://www.php.net/manual/en/mysqli.quickstart.prepared-sta...]. It's not exactly a mind bending or time saving tool.

    2. There are multiple OpenAPI generators for PHP, in fact, they existed from nearly the start of the OpenAPI protocol (formerly Swagger) when Go was barely a year old. Here's a current popular one: https://openapi-generator.tech/docs/generators/php/]

    3. PHP also, (unsurprisingly given the origination point of the spec) has many GraphQL implementations that support any database driver over ODBC, key-value stores, or even flat files. Here's one that plugs into Laravel [https://lighthouse-php.com/]

    4. PHP has many mature, modern embedded KV store options... but it's also had one in the standard lib since years before Go even existed, or the concept of KV stores was even popular. [https://www.php.net/manual/en/class.splobjectstorage.php].

    On your non-numbered points...

    Go and PHP are fairly similar in raw processing speed since the JIT was added to PHP. However raw number crunching is rarely realistic when most applications are going to be using databases, stores, etc. So why not look at a benchmark of popular frameworks in both languages - which shows, again that the two are fairly similar in performance. [https://www.techempower.com/benchmarks/#section=data-r21&l=z...]

    PHP has also had types for about 4 years now. It's not statically typed, but that's a preference, not a pro/con situation.

    Built-in formatting is also a preference, not a pro/con situation. Many developers strongly dislike languages like Go and Python for this.

    PHP has had one of the most powerful and useful package management ecosystems in the entire open source world since composer mostly replaced PEAR nearly a decade ago. It also has mature and well loved testing tooling. Neither of which are built in, because why would you need to build in tools that the community already creates and maintains for free?

    I don't know what "bugs" you faced in the PHP stdlib, but I will concede that it is painful to use. Most of the stdlib is little more than a wrapper around C functions of the same name, and they inherit the frustration of using those C functions.

    Laravel does allow you to write things by hand. You can also just define them ahead of time and have the Migrations, Models, Controllers, Views, Transformers and more generated for you automatically. [https://blueprint.laravelshift.com/]

    There you go, there's your links. But frankly, you didn't need them. There's little you mentioned that's unique to Go at all, you just named a bunch of things that have become popular tools for most modern languages still being actively developed. I'm not sure why you think any of these things are Go-specific - some of them are maintained by the Go core team, like other newer languages have started doing, but that's it.

  • Looking for a personal stack
    7 projects | dev.to | 22 Apr 2022
    For multi-user apps Laravel Sanctum, Lighthouse for Laravel are options worth considering, haven't them tested yet.
  • Get Started with GraphQL and Laravel
    5 projects | dev.to | 15 Jan 2022
    The most popular GraphQL libraries for Laravel are Rebing & Lighthouse, in our tutorial we will be using Rebing which we can install by running:
  • Which programming language, besides JS, has the best support/ecosystem for graphql?
    4 projects | /r/graphql | 16 Oct 2021
    if you have no problem with php, take a look at Laravel with this package
  • Laravel-powered API: how to fetch a resource and its nested data?
    2 projects | /r/laravel | 24 Sep 2021
    A third way you could take is GraphQL, which is designed for querying and selecting things at arbitrary depths. Lighthouse looks to be a very nice graphql server for Laravel, from what I've used of it anyway. Pull up a graphql tutorial (the one on graphql.org is pretty good) and give Lighthouse a spin.
  • GraphQL server package - Lighthouse vs rebing/graphql-laravel?
    2 projects | /r/laravel | 29 Jul 2021
    Lighthouse
  • Weekly "ask anything" thread
    3 projects | /r/PHP | 22 May 2021
    Hi there! I just picked up PHP, since I have to use it for a school project, and am running into a bit of trouble with some frameworks. I am required to use the following stack on the backend (frontend will be a React Native application): Strapi (Used so we don't have to make a web portal) Laravel (Don't think this one is too relevant for the question) Lighthouse (For my GraphQL) And a postgres database This entire stack is new to me, and I feel like they're non cooperative. We are required to use Strapi so the company we are working for has an easy time inserting data (since Strapi comes with a beautiful UI etc) What my plan was: Convert my ERD diagram to collections in Strapi using their UI, and then recreate this with Lighthouse so I can create an actual API for it. The trouble I'm running into is that Strapi creates a database structure that is totally incompatible with what I have designed and I'm just really lost on how to proceed.
  • How I built Realtime in Laravel + VueJS
    2 projects | dev.to | 18 Feb 2021
    GraphQL - Lighthouse (A framework for serving GraphQL from Laravel)
  • Laravel may call your accessor twice. But it won't patch bugs because it's a "breaking change"
    2 projects | /r/laravel | 28 Jan 2021
    This issue is affecting users and has been reported as a side effect in other projects: webonyx/graphql-php#759 and nuwave/lighthouse#1671.
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 29 Feb 2024
    Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →

Stats

Basic lighthouse repo stats
15
3,296
9.0
6 days ago
ChatGPT with full context of any GitHub repo.
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.
app.getonboardai.com