I'm assuming you already know what is GraphQL and Swoole, so what about getting started right straight to the code, shall we?
What you maybe doesn't know yet is about Siler! It is a set of general purpose high-level abstractions aiming an API for declarative programming in PHP. With Siler we can abstract way "hard" parts from popular tools like GraphQL and recently Swoole. And yes, I'm the author, so feel free to file any issues or make any questions about it.
"Talk is cheap, show me the code". Let's go!
I want to make it simple as possible so we can focus on using GraphQL and Swoole through Siler instead of solving hard domain and business logic problems, so we are going to implement a gold-old to-do list.