Download the PHP package andikaryanto11/ci4graphql without Composer
On this page you can find all versions of the php package andikaryanto11/ci4graphql. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download andikaryanto11/ci4graphql
More information about andikaryanto11/ci4graphql
Files in andikaryanto11/ci4graphql
Download andikaryanto11/ci4graphql
More information about andikaryanto11/ci4graphql
Files in andikaryanto11/ci4graphql
Vendor andikaryanto11
Package ci4graphql
Short Description ORM Database mapping for Codeigniter 4
License MIT
Homepage https://packagist.org/packages/andikaryanto11/ciorm
Package ci4graphql
Short Description ORM Database mapping for Codeigniter 4
License MIT
Homepage https://packagist.org/packages/andikaryanto11/ciorm
Please rate this library. Is it a good library?
Informations about the package ci4graphql
Codeigniter 4 GraphQl
This package is created to create graphql in ci4
Install
composer require andikaryanto11/ci4graphql
Usage
- Create Controller Class then Extends to this AndikGraphql\Controller\GraphQL
- in ci4 route file add this line AndikGraphql\Route\GraphqlRoute:routes($routes, 'YOUR_CONTROLLER::function')
- create directory under app called 'Graphql' (all your graphql work will be inside here).
- Resolver class must extends AndikGraphql\LogicResolver then should have function with name public function reveal({root}, {args}, {context})
-
in QueryResolver / MutationResolver class, you must register your mutation / query like
public function register() { $this->queries = [ 'getTest' => new Test(), ]; return $this; }
- take a look at the example directory, the example directory structure looks like code igniter 4 to make it easy to understand
All versions of ci4graphql with dependencies
PHP Build Version
Package Version
The package andikaryanto11/ci4graphql contains the following files
Loading the files please wait ....