laravel-graphql
laravel-graphql copied to clipboard
Whats the Difference with https://github.com/rebing/graphql-laravel to this?
Seems like a 404 page to me?
sorry wrong type :( i update the title now hope someone can clear my mind so i can pick what to use for my graphQL implementation ty
They are very similar, since rebing is based on this library.
authorize function
was one difference, but now is implemented in both.
Pagination and privacy are other implementation in rebing repo. Pagination has a PR here.
seems like the pagination here is not working, i tried to use GraphQL::paginate('User') im getting paginate function does not exist
Like a said, there is a PR https://github.com/Folkloreatelier/laravel-graphql/pull/242 for pagination, so it is not implemented
after diggin in the code of rebing, i think ill use this one, simply because they dont have implementation for lumen... and graphql i think is perfect for lumen... for high request rate
What about https://github.com/nuwave/lighthouse, anyone got any experience with it?
The Folkloreatelier GraphQL has not been updated for 3 months, maybe the [Rebing GraphQL] (https://github.com/rebing/graphql-laravel) is a good option to change. ¿?
@albertcito definitely check out lighthouse again, @chrissm79 worked his ass off to release a version 2 and it is by far the best Laravel GraphQL implementation out there now, there's also a dedicated slack channel for if you need support!
See you there! https://github.com/nuwave/lighthouse
@hailwood do you have any insights why this Folkloreatelier is stagnating?
Unfortunately not, I'd say it's the curse of open source - maintaining a project of this scale requires a mammoth effort and investment of personal time, so a lot of projects stagnate simply due to burning through the motivation to do so any longer.
Additionally, The problems that are left for this package to solve aren't simple fixes, they're huge architectural changes, which not many people outside of @dmongeau have the internal knowledge to apply so there's not a lot more activity that can go on for this repository.
The reason I recommend Lighthouse is that @chrissm79 spent time using the existing PHP solutions, went to node for a few months because their GraphQL integrations are more complete, and then eventually came back to PHP and created Lighthouse based off the learnings of doing such, so the project has really taken the leap to enable it to pretty easily be contributed to by a larger community meaning the likelyhood of it coming across these more "core" issues is significantly lowered.
@hailwood thanks for your insights
I noticed lighthouse in the meantime and it seems radically different on some parts. However one reason why it's great to get started with Folklore is the documentation. Lighthouse literally has nothing documented how to actually use it (except the install/config part which the same for every app).
I get your points and it's easy to see the investment into lighthouse. Will observe the space, thank you!