Download the PHP package api-skeletons/doctrine-graphql without Composer

On this page you can find all versions of the php package api-skeletons/doctrine-graphql. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package doctrine-graphql

GraphQL Type Driver for Doctrine ORM

This project has been retired in favor of API-Skeletons/doctrine-orm-graphql

See the upgrade guide if you're a user of the 8.x branch.

All the original documentation can be found below.

Build Status Code Coverage Scrutinizer Code Quality PHP Version

This library provides a framework agnostic GraphQL driver for Doctrine ORM for use with webonyx/graphql-php. Configuration is available from zero to verbose. Multiple configurations for multiple drivers are supported.

Detailed documentation is available.

For an example application post to https://graphql.lcdb.org/

Library Highlights

Installation

Run the following to install this library using Composer:

Entity Relationship Diagram

This Entity Relationship Diagram, created with Skipper, is used for the query examples below and testing this library.

Entity Relationship Diagram

Quick Start

Add attributes to your Doctrine entities

Create the driver and GraphQL schema

Run GraphQL queries

Run GraphQL mutations

Filtering

For every attributed field and every attributed association, filters are available in your GraphQL query.

Example

Each field has their own set of filters. Most fields have the following:

Events

Filter Query Builder

You may modify the query builder used to resolve any connection by subscribing to events. Each connection may have a unique event name. Entity::class . '.filterQueryBuilder' is recommended. Pass as the second parameter to $driver->resolve().

Filter Association Criteria

You may modify the criteria object used to filter associations. For instance, if you use soft deletes then you would want to filter out deleted rows from an association.

Entity ObjectType Definition

You may modify the array used to define an entity type before it is created. This can be used for generated data and the like. You must attach to events before defining your GraphQL schema. See the detailed documentation for details.

Further Reading

Detailed documentation is available.


All versions of doctrine-graphql with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
doctrine/orm Version ^2.11
doctrine/doctrine-laminas-hydrator Version ^3.2
api-skeletons/doctrine-querybuilder-filter Version ^2.0
webonyx/graphql-php Version ^v15.0
psr/container Version ^1.1||^2.0
league/event Version ^3.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package api-skeletons/doctrine-graphql contains the following files

Loading the files please wait ....