PHPackages                             fearthec/ftc-discord-website - 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. fearthec/ftc-discord-website

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

fearthec/ftc-discord-website
============================

0.0.3(7y ago)101[4 issues](https://github.com/FearTheC/ftc-discord-website/issues)MITPHPPHP ^7.2

Since Aug 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/FearTheC/ftc-discord-website)[ Packagist](https://packagist.org/packages/fearthec/ftc-discord-website)[ Docs](https://github.com/fearthec/ftc-discord-website)[ RSS](/packages/fearthec-ftc-discord-website/feed)WikiDiscussions master Synced today

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

Expressive Skeleton and Installer
=================================

[](#expressive-skeleton-and-installer)

[![Build Status](https://camo.githubusercontent.com/714cb20c21b6e65ebeb6acc99cc67525142bd681a02e7a13510f615b3139a34b/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f7a656e646672616d65776f726b2f7a656e642d657870726573736976652d736b656c65746f6e2e7376673f6272616e63683d6d6173746572)](https://secure.travis-ci.org/zendframework/zend-expressive-skeleton)[![Coverage Status](https://camo.githubusercontent.com/160f3eca9a0a1c35e484392755ff2531179d64599e5c7e58f73a98f8247a0ec6/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a656e646672616d65776f726b2f7a656e642d657870726573736976652d736b656c65746f6e2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/zendframework/zend-expressive-skeleton?branch=master)

*Begin developing PSR-15 middleware applications in seconds!*

[zend-expressive](https://github.com/zendframework/zend-expressive) builds on [zend-stratigility](https://github.com/zendframework/zend-stratigility) to provide a minimalist PSR-15 middleware framework for PHP with routing, DI container, optional templating, and optional error handling capabilities.

This installer will setup a skeleton application based on zend-expressive by choosing optional packages based on user input as demonstrated in the following screenshot:

[![screenshot-installer](https://cloud.githubusercontent.com/assets/459648/10410494/16bdc674-6f6d-11e5-8190-3c1466e93361.png)](https://cloud.githubusercontent.com/assets/459648/10410494/16bdc674-6f6d-11e5-8190-3c1466e93361.png)

The user selected packages are saved into `composer.json` so that everyone else working on the project have the same packages installed. Configuration files and templates are prepared for first use. The installer command is removed from `composer.json` after setup succeeded, and all installer related files are removed.

Getting Started
---------------

[](#getting-started)

Start your new Expressive project with composer:

```
$ composer create-project zendframework/zend-expressive-skeleton
```

After choosing and installing the packages you want, go to the `` and start PHP's built-in web server to verify installation:

```
$ composer run --timeout=0 serve
```

You can then browse to .

> ### Linux users
>
> [](#linux-users)
>
> On PHP versions prior to 7.1.14 and 7.2.2, this command might not work as expected due to a bug in PHP that only affects linux environments. In such scenarios, you will need to start the [built-in web server](http://php.net/manual/en/features.commandline.webserver.php) yourself, using the following command:
>
> ```
> $ php -S 0.0.0.0:8080 -t public/ public/index.php
> ```

> ### Setting a timeout
>
> [](#setting-a-timeout)
>
> Composer commands time out after 300 seconds (5 minutes). On Linux-based systems, the `php -S` command that `composer serve` spawns continues running as a background process, but on other systems halts when the timeout occurs.
>
> As such, we recommend running the `serve` script using a timeout. This can be done by using `composer run` to execute the `serve` script, with a `--timeout` option. When set to `0`, as in the previous example, no timeout will be used, and it will run until you cancel the process (usually via `Ctrl-C`). Alternately, you can specify a finite timeout; as an example, the following will extend the timeout to a full day:
>
> ```
> $ composer run --timeout=86400 serve
> ```

Troubleshooting
---------------

[](#troubleshooting)

If the installer fails during the `composer create-project` phase, please go through the following list before opening a new issue. Most issues we have seen so far can be solved by `self-update` and `clear-cache`.

1. Be sure to work with the latest version of composer by running `composer self-update`.
2. Try clearing Composer's cache by running `composer clear-cache`.

If neither of the above help, you might face more serious issues:

- Info about the [zlib\_decode error](https://github.com/composer/composer/issues/4121).
- Info and solutions for [composer degraded mode](https://getcomposer.org/doc/articles/troubleshooting.md#degraded-mode).

Application Development Mode Tool
---------------------------------

[](#application-development-mode-tool)

This skeleton comes with [zf-development-mode](https://github.com/zfcampus/zf-development-mode). It provides a composer script to allow you to enable and disable development mode.

### To enable development mode

[](#to-enable-development-mode)

**Note:** Do NOT run development mode on your production server!

```
$ composer development-enable
```

**Note:** Enabling development mode will also clear your configuration cache, to allow safely updating dependencies and ensuring any new configuration is picked up by your application.

### To disable development mode

[](#to-disable-development-mode)

```
$ composer development-disable
```

### Development mode status

[](#development-mode-status)

```
$ composer development-status
```

Configuration caching
---------------------

[](#configuration-caching)

By default, the skeleton will create a configuration cache in `data/config-cache.php`. When in development mode, the configuration cache is disabled, and switching in and out of development mode will remove the configuration cache.

You may need to clear the configuration cache in production when deploying if you deploy to the same directory. You may do so using the following:

```
$ composer clear-config-cache
```

You may also change the location of the configuration cache itself by editing the `config/config.php` file and changing the `config_cache_path` entry of the local `$cacheConfig` variable.

Skeleton Development
--------------------

[](#skeleton-development)

This section applies only if you cloned this repo with `git clone`, not when you installed expressive with `composer create-project ...`.

If you want to run tests against the installer, you need to clone this repo and setup all dependencies with composer. Make sure you **prevent composer running scripts** with `--no-scripts`, otherwise it will remove the installer and all tests.

```
$ composer update --no-scripts
$ composer test
```

Please note that the installer tests remove installed config files and templates before and after running the tests.

Before contributing read [the contributing guide](docs/CONTRIBUTING.md).

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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 ~24 days

Total

3

Last Release

2791d ago

### Community

Maintainers

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

---

Tags

psrpsr-7middlewarePSR-11psr-15Skeleton

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/fearthec-ftc-discord-website/health.svg)

```
[![Health](https://phpackages.com/badges/fearthec-ftc-discord-website/health.svg)](https://phpackages.com/packages/fearthec-ftc-discord-website)
```

###  Alternatives

[mezzio/mezzio

PSR-15 Middleware Microframework

3883.6M97](/packages/mezzio-mezzio)[psr/http-server-middleware

Common interface for HTTP server-side middleware

18091.2M1.5k](/packages/psr-http-server-middleware)[mezzio/mezzio-skeleton

Laminas mezzio skeleton. Begin developing PSR-15 middleware applications in seconds!

12726.2k](/packages/mezzio-mezzio-skeleton)[php-middleware/php-debug-bar

PHP Debug Bar PSR-15 middleware with PSR-7

76433.5k2](/packages/php-middleware-php-debug-bar)[middlewares/utils

Common utils for PSR-15 middleware packages

503.4M92](/packages/middlewares-utils)

PHPackages © 2026

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