PHPackages                             andikaryanto11/ci4graphql - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. andikaryanto11/ci4graphql

ActiveLibrary[API Development](/categories/api)

andikaryanto11/ci4graphql
=========================

ORM Database mapping for Codeigniter 4

v0.0.5(4y ago)11571[1 issues](https://github.com/andikaryanto11/Ci4Graphql/issues)MITPHPPHP ^7.4

Since Jul 20Pushed 4y ago1 watchersCompare

[ Source](https://github.com/andikaryanto11/Ci4Graphql)[ Packagist](https://packagist.org/packages/andikaryanto11/ci4graphql)[ Docs](https://packagist.org/packages/andikaryanto11/ciorm)[ RSS](/packages/andikaryanto11-ci4graphql/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (1)Versions (6)Used By (0)

Codeigniter 4 GraphQl
=====================

[](#codeigniter-4-graphql)

This package is created to create graphql in ci4

Install
=======

[](#install)

```
composer require andikaryanto11/ci4graphql

```

Usage
=====

[](#usage)

1. Create Controller Class then Extends to this **AndikGraphql\\Controller\\GraphQL**
2. in ci4 route file add this line **AndikGraphql\\Route\\GraphqlRoute:routes($routes, 'YOUR\_CONTROLLER::function')**
3. create directory under app called 'Graphql' (all your graphql work will be inside here).
4. Resolver class must extends **AndikGraphql\\LogicResolver** then should have function with name **public function reveal({root}, {args}, {context})**
5. in QueryResolver / MutationResolver class, you must register your mutation / query like

    ```
       public function register()
       {
           $this->queries = [
               'getTest' => new Test(),
           ];
           return $this;
       }

    ```
6. take a look at the example directory, the example directory structure looks like code igniter 4 to make it easy to understand

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~5 days

Total

4

Last Release

1739d ago

PHP version history (2 changes)v0.0.2PHP ^7.2

v0.0.5PHP ^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/950802ff655f8097071a44b580b103bbfacf5b7d4de01acb8c24cc25a9055936?d=identicon)[andikaryanto11](/maintainers/andikaryanto11)

---

Top Contributors

[![andikaryanto](https://avatars.githubusercontent.com/u/41881539?v=4)](https://github.com/andikaryanto "andikaryanto (12 commits)")[![andikaryanto11](https://avatars.githubusercontent.com/u/42728084?v=4)](https://github.com/andikaryanto11 "andikaryanto11 (4 commits)")

---

Tags

apigraphqlcodeignitercodeigniter4

### Embed Badge

![Health badge](/badges/andikaryanto11-ci4graphql/health.svg)

```
[![Health](https://phpackages.com/badges/andikaryanto11-ci4graphql/health.svg)](https://phpackages.com/packages/andikaryanto11-ci4graphql)
```

###  Alternatives

[ivome/graphql-relay-php

A PHP port of GraphQL Relay reference implementation

271632.4k5](/packages/ivome-graphql-relay-php)[wp-graphql/wp-graphql-woocommerce

WooCommerce bindings for WPGraphQL

69146.8k](/packages/wp-graphql-wp-graphql-woocommerce)[rubix/server

Deploy your Rubix ML models to production with scalable stand-alone inference servers.

632.3k](/packages/rubix-server)[agungsugiarto/codeigniter4-cors

Send CORS Headers in a CodeIgniter 4 application.

6524.6k2](/packages/agungsugiarto-codeigniter4-cors)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
