Skip to content
Cross-framework module for GraphQLite using container-interop/service-provider
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
.travis.yml
README.md
composer.json
discovery.json
phpcs.xml.dist
phpstan.neon
phpunit.xml.dist

README.md

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 yes 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

You can’t perform that action at this time.