PHPackages                             ilias/choir - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. ilias/choir

ActiveProject[HTTP &amp; Networking](/categories/http)

ilias/choir
===========

A PHP HTTP requests handler template

1.1.1(1y ago)014MITPHP

Since Aug 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/iloElias/choir)[ Packagist](https://packagist.org/packages/ilias/choir)[ Docs](https://github.com/ilias/choir)[ RSS](/packages/ilias-choir/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (5)Versions (7)Used By (0)

PHP HTTP Request Handler Template with Nginx
============================================

[](#php-http-request-handler-template-with-nginx)

[![Maintainer](https://camo.githubusercontent.com/7747e8335e6e4ef5045ec7ec6217c9f98b3a9c6f85ad84655a0b8e2c6c64f5a3/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6d61696e7461696e65722d40696c6f456c6961732d626c75652e737667)](https://github.com/iloElias)[![Package](https://camo.githubusercontent.com/08df70686c95db515c16896e5b26c4816ec5a8e0ddcfb755c6096609314a85a9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7061636b6167652d696c6f656c6961732f63686f69722d6f72616e67652e737667)](https://packagist.org/packages/ilias/choir)[![Source Code](https://camo.githubusercontent.com/021f12390aea3b0e4c962d815faa2d37db3526083aa3a87e7b287ab873aa66d3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f736f757263652d696c6f656c6961732f63686f69722d626c75652e737667)](https://github.com/iloElias/choir)[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)

This GitHub repository provides a comprehensive Nginx server setup optimized for PHP applications, specifically tailored for deploying web APIs. It includes a ready-to-use template designed to streamline the development and deployment process on Railway platforms. This setup is ideal for developers looking to quickly and efficiently launch PHP-based APIs with Nginx, ensuring compatibility and performance on Railway deployments.

*Informações traduzidas para português do Brasil em `./docs/README_ptBR.md`*

Dependencies
------------

[](#dependencies)

This template has some dependencies that need to be installed on your current workspace:

- **Docker**: Mainly used for local testing
- **PHP 8.0**: The current used programming language and it's minimum version
- **Composer**: PHP package manager

1st Step: Domain name
---------------------

[](#1st-step-domain-name)

In your local host machine add the following lines to your `/etc/hosts` file in order to find the application.

```
127.0.0.1   choir.api.com
```

2nd Step: Preparing the environment
-----------------------------------

[](#2nd-step-preparing-the-environment)

Build your custom Docker Image running `./docker/build.sh`

Exceptions:

- In case you are having some permission troubles, use `sudo` to execute the fallowing files

3rd Step: Running Docker
------------------------

[](#3rd-step-running-docker)

`docker-compose up`: Standalone version

`docker-compose up -d`: Daemon version

Exceptions:

- If the daemon is not allawing you to use the `0.0.0.0:80` port, change the `docker-compose.yml` file to expose the port 81:

```
    expose:
      - 3000
      - 81
    ports:
      - 3000:3000
      - 81:81
```

4th Step: Check your browser
----------------------------

[](#4th-step-check-your-browser)

Open  and check the headers on your devtools, and you should see this entry `ping: "pong"`.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Every ~12 days

Total

6

Last Release

588d ago

### Community

Maintainers

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

---

Top Contributors

[![iloElias](https://avatars.githubusercontent.com/u/106710958?v=4)](https://github.com/iloElias "iloElias (19 commits)")

---

Tags

composer-projectphpphp-frameworkrestful-apihttpphptemplatehandlerrequests

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ilias-choir/health.svg)

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

###  Alternatives

[kevinrob/guzzle-cache-middleware

A HTTP/1.1 Cache for Guzzle 6. It's a simple Middleware to be added in the HandlerStack. (RFC 7234)

43117.4M104](/packages/kevinrob-guzzle-cache-middleware)[nategood/httpful

A Readable, Chainable, REST friendly, PHP HTTP Client

1.8k17.2M267](/packages/nategood-httpful)[swlib/saber

Swoole coroutine HTTP client

985145.0k27](/packages/swlib-saber)[khr/php-mcurl-client

wrap curl client (http client) for PHP 5.3; using php multi curl, parallel request and write asynchronous code

71219.8k6](/packages/khr-php-mcurl-client)[hannesvdvreken/guzzle-debugbar

A Guzzle middleware that logs requests to debugbar's timeline

76410.4k1](/packages/hannesvdvreken-guzzle-debugbar)

PHPackages © 2026

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