laravel-graphql icon indicating copy to clipboard operation
laravel-graphql copied to clipboard

Whats the Difference with https://github.com/rebing/graphql-laravel to this?

Open codeitlikemiley opened this issue 7 years ago • 12 comments

codeitlikemiley avatar Jan 24 '18 11:01 codeitlikemiley

Seems like a 404 page to me?

kevinvdburgt avatar Jan 24 '18 11:01 kevinvdburgt

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

codeitlikemiley avatar Jan 24 '18 12:01 codeitlikemiley

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.

faiverson avatar Jan 24 '18 13:01 faiverson

seems like the pagination here is not working, i tried to use GraphQL::paginate('User') im getting paginate function does not exist

codeitlikemiley avatar Jan 25 '18 13:01 codeitlikemiley

Like a said, there is a PR https://github.com/Folkloreatelier/laravel-graphql/pull/242 for pagination, so it is not implemented

faiverson avatar Jan 25 '18 14:01 faiverson

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

codeitlikemiley avatar Jan 27 '18 01:01 codeitlikemiley

What about https://github.com/nuwave/lighthouse, anyone got any experience with it?

kikoseijo avatar Jan 27 '18 10:01 kikoseijo

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 avatar Jun 14 '18 19:06 albertcito

@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 avatar Jun 14 '18 22:06 hailwood

@hailwood do you have any insights why this Folkloreatelier is stagnating?

mfn avatar Jun 28 '18 23:06 mfn

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 avatar Jun 29 '18 02:06 hailwood

@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!

mfn avatar Jun 29 '18 19:06 mfn