PHPackages                             emsifa/graphit - 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. [Framework](/categories/framework)
4. /
5. emsifa/graphit

ActiveLibrary[Framework](/categories/framework)

emsifa/graphit
==============

PHP GraphQL Framework

09PHP

Since May 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/emsifa/graphit)[ Packagist](https://packagist.org/packages/emsifa/graphit)[ RSS](/packages/emsifa-graphit/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Graphit - PHP GraphQL Framework
===============================

[](#graphit---php-graphql-framework)

Graphit adalah 'framework' khusus untuk membuat aplikasi [graphql](http://graphql.org/). Tidak seperti framework PHP pada umumnya yang menyajikan *RESTful routing*, middleware, ORM, dsb. Graphit hanya memiliki 1 fungsi utama, yaitu mengeksekusi graphql query (gql). Untuk mengeksekusi gql tersebut, Graphit menggunakan library [webonyx/graphql-php](https://github.com/webonyx/graphql-php).

Seperti framework pada umumnya, Graphit dibuat bertujuan untuk:

1. Easy to build.
2. Easy to maintain.

Untuk tujuan tersebut, Graphit menghadirkan fitur-fitur sebagai berikut:

- Mempermudah definisi *schema* dengan [graphql SDL](https://blog.graph.cool/graphql-sdl-schema-definition-language-6755bcb9ce51).
- Memaksa Membantu menciptakan struktur direktori yang lebih mudah dipahami.
- *AST caching* untuk mempercepat performa aplikasi.
- Depencency Injection (DI) Container.
- Upload file mengikuti spesifikasi [*graphql-multipart-request-spec*](https://github.com/jaydenseric/graphql-multipart-request-spec).
- Integrasi [GraphiQL](https://github.com/graphql/graphiql).
- Mudah di integrasikan ke beberapa framework PHP populer.

Instalasi
---------

[](#instalasi)

Untuk menginstall Graphit, silahkan buat direktori aplikasi baru. Kemudian jalankan perintah composer dibawah ini:

```
composer require emsifa/graphit:dev-master

```

Setup
-----

[](#setup)

> On progress (lihat di folder example)

Konfigurasi
-----------

[](#konfigurasi)

> On progress (lihat di folder example)

TODOS
-----

[](#todos)

- Automatic build schema from `.graphql` file
    - Register Queries
    - Register Mutations
    - Register Types
    - Register Enums
    - Register Inputs
    - Register Interfaces
    - Register Unions
- Execute gql from HTTP
- GraphiQL integration
- AST caching
- Upload file support following [this specs](https://github.com/jaydenseric/graphql-multipart-request-spec)
- Framework Integrations
    - Laravel
    - Slim
    - Silex
    - Yii2
    - Rakit

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf2e85e5574fc28f87c28311a5ad7bcbec884e9ea21e88d63639f46ed6af72d1?d=identicon)[emsifa](/maintainers/emsifa)

---

Top Contributors

[![emsifa](https://avatars.githubusercontent.com/u/6297931?v=4)](https://github.com/emsifa "emsifa (34 commits)")

### Embed Badge

![Health badge](/badges/emsifa-graphit/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M190](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M256](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M591](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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