Skip to content

Pinatra/GraphPinatra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphPinatra

GraphQL framework with Eloquent.

Example

git clone or download manually

run with PHP -S

cd GraphPinatra
php -S 0.0.0.0:8000 -t public

input

open the url below with your browser:

http://0.0.0.0:8000/graphql.php?debug=1&query={article(id:1){id,title,read_count}}

or use ChromeiQL Chrome app with:

query {
  article(id: 1) {
    id
    title
    read_count
  }
}

result

{
  "data": {
    "article": {
      "id": 1,
      "title": "ooxx",
      "read_count": 0
    }
  }
}

About

GraphQL framework with Eloquent.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages