Install through composer
composer require spawnia/sailor
Run vendor/bin/sailor
to set up a configuration file sailor.php
in your project root.
Sprinkle .graphql
files throughout your app that contain the
queries and mutations you use. The contained operations must have
unique names.
Run vendor/bin/sailor
to generate PHP classes that offer typesafe access.
Run vendor/bin/sailor introspect
to update your schema with the latest changes
from the server by running an introspection query.
Please have a look at CHANGELOG.md
.
Please have a look at CONTRIBUTING.md
.
This package is licensed using the MIT License.