thecodingmachine/graphqlite-universal-service-provider

Cross-framework module for GraphQLite using container-interop/service-provider


README

Latest Stable Version Latest Unstable Version License Build Status Coverage Status

WORK IN PROGRESS

GraphQLite universal module

This package integrates GraphQLite in any container-interop compatible framework/container.

Installation

composer require thecodingmachine/graphqlite-universal-service-provider

Once installed, you need to register the TheCodingMachine\GraphQLiteServiceProvider into your container.

If your container supports thecodingmachine/discovery integration, you have nothing to do. Otherwise, refer to your framework or container's documentation to learn how to register service providers.

Introduction

This service provider is meant to [fill purpose here].

Expected values / services

This service provider expects the following configuration / services to be available:

Name Compulsory Description
graphqlite.namespace.controllers yes An array containing the namespaces where GraphQL controllers are stored
graphqlite.namespace.types yes An array containing the namespaces where GraphQL types are stored
Psr\SimpleCache\CacheInterface yes A PSR-16 cache service
Doctrine\Common\Annotations\Reader no A Doctrine annotation reader
TheCodingMachine\GraphQLite\Security\AuthenticationServiceInterface no A service to plug authentication to GraphQLite. If not passed, the FailAuthenticationService is used instead.
TheCodingMachine\GraphQLite\Security\AuthorizationServiceInterface no A service to plug authorization to GraphQLite. If not passed, the FailAuthorizationService is used instead.

Provided services

This service provider provides the following services:

Service name Description
service_name Definition

Extended services

This service provider extends those services:

Name Compulsory Description
service_name yes Definition

Project template courtesy of thecodingmachine/service-provider-template