PHPackages                             timkippdev/graphql-starter-project - 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. timkippdev/graphql-starter-project

ActiveProject[API Development](/categories/api)

timkippdev/graphql-starter-project
==================================

Starter project for working with the PHP GraphQL library

1.0.0(7y ago)16MITPHPPHP ^7.1.3

Since Jan 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/timkippdev/graphql-starter-project)[ Packagist](https://packagist.org/packages/timkippdev/graphql-starter-project)[ RSS](/packages/timkippdev-graphql-starter-project/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

GraphQL Starter Project
=======================

[](#graphql-starter-project)

This starter project was derived from the [graphql-php](https://github.com/webonyx/graphql-php) "Getting Started" [documentation](http://webonyx.github.io/graphql-php/getting-started/) example.

Project Installation
====================

[](#project-installation)

Install with Composer

```
composer create-project timkippdev/graphql-starter-project --prefer-dist

```

Development Setup using Docker (optional)
=========================================

[](#development-setup-using-docker-optional)

**This assumes you have [Docker](https://docs.docker.com/v17.09/engine/installation/) installed and running on your machine**

Starting your Docker container
------------------------------

[](#starting-your-docker-container)

```
docker-compose up -d

```

If you need to run any composer commands, you use run them against the *composer* container:

```
docker-compose run --rm composer
```

If you need to log into your Docker container, run the following command and you will be launched into a shell inside the container:

```
docker exec -it graphql-starter-project bash
```

Executing a GraphQL Query
=========================

[](#executing-a-graphql-query)

There are multiple ways to do this, but here are a couple to get started:

1. Use GraphiQL, either [web-based](https://github.com/graphql/graphiql) or a [standalone application](https://github.com/skevy/graphiql-app).
2. Use either cURL or a REST client to fire a POST request

For either method you chose above, you will POST your request to , if Docker was used, or the URL you have set up for your local development

### GraphiQL Query Example

[](#graphiql-query-example)

```
query {
  echo(message: "Hello World")
}

```

### cURL / REST Payload Example

[](#curl--rest-payload-example)

1. cURL example

```
curl http://localhost:8080 -d '{"query": "query { echo(message: \"Hello World\") }" }'
```

2. REST Client example

> Content-Type: application/json
> Method: POST
> Payload (below):

```
{ "query": "query { echo(message: \"Hello World\") }" }
```

### Expected Result

[](#expected-result)

In either way you choose to execute your query, you should see a similar response to the following:

```
{
  "data": {
    "echo": "Hello World"
  }
}
```

###  Health Score

24

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2626d ago

### Community

Maintainers

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

---

Top Contributors

[![timkippdev](https://avatars.githubusercontent.com/u/37030721?v=4)](https://github.com/timkippdev "timkippdev (5 commits)")

---

Tags

graphqlprojectstarter

### Embed Badge

![Health badge](/badges/timkippdev-graphql-starter-project/health.svg)

```
[![Health](https://phpackages.com/badges/timkippdev-graphql-starter-project/health.svg)](https://phpackages.com/packages/timkippdev-graphql-starter-project)
```

###  Alternatives

[nuwave/lighthouse

A framework for serving GraphQL from Laravel

3.5k10.4M78](/packages/nuwave-lighthouse)[overblog/graphql-bundle

This bundle provides tools to build a GraphQL server in your Symfony App.

7967.7M22](/packages/overblog-graphql-bundle)[mll-lab/graphql-php-scalars

A collection of custom scalar types for usage with https://github.com/webonyx/graphql-php

1474.1M19](/packages/mll-lab-graphql-php-scalars)[aimeos/ai-admin-graphql

Aimeos Admin GraphQL API extension

93997.0k3](/packages/aimeos-ai-admin-graphql)[ivome/graphql-relay-php

A PHP port of GraphQL Relay reference implementation

271619.7k5](/packages/ivome-graphql-relay-php)[overblog/graphql-php-generator

GraphQL types generator

29517.7k](/packages/overblog-graphql-php-generator)

PHPackages © 2026

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