Skip to content
/ sailor Public
forked from spawnia/sailor

A typesafe GraphQL client for PHP

License

Notifications You must be signed in to change notification settings

Ralf77/sailor

 
 

Repository files navigation

sailor-logo"

CI Status codecov StyleCI Latest Stable Version Total Downloads

A typesafe GraphQL client for PHP

Installation

Install through composer

composer require spawnia/sailor

Run vendor/bin/sailor to set up a configuration file sailor.php in your project root.

Usage

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.

Changelog

Please have a look at CHANGELOG.md.

Contributing

Please have a look at CONTRIBUTING.md.

License

This package is licensed using the MIT License.

About

A typesafe GraphQL client for PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 97.1%
  • Makefile 1.9%
  • Dockerfile 1.0%