PHPackages                             fduarte42/zend-expressive-static-files - 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. fduarte42/zend-expressive-static-files

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

fduarte42/zend-expressive-static-files
======================================

A PSR-15 middleware that serves static assets for you. Is similar to the "serve-static" npm package.

1.2.8(3y ago)05.3kISCPHPPHP ^7.1CI failing

Since Sep 21Pushed 3y ago1 watchersCompare

[ Source](https://github.com/fduarte42/zend-expressive-static-files)[ Packagist](https://packagist.org/packages/fduarte42/zend-expressive-static-files)[ RSS](/packages/fduarte42-zend-expressive-static-files/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (21)Used By (0)

Zend Expressive Static Files [![Build Status](https://camo.githubusercontent.com/bfcd06dbce7b9bd6b20e347d6bbb64d14b3071c6a69e5ee9d2bad5a505a5566e/68747470733a2f2f7472617669732d63692e636f6d2f6664756172746534322f7a656e642d657870726573736976652d7374617469632d66696c65732e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/fduarte42/zend-expressive-static-files)
==============================================================================================================================================================================================================================================================================================================================================================================

[](#zend-expressive-static-files-)

A PSR-15 middleware that serves static assets for you

Laminas/Mezzio
==============

[](#laminasmezzio)

Use  for a laminas/mezzio and php 8 compatible version

Example usage:

```
$app->pipe('/fun-module/assets', new \Fduarte42\StaticFiles\StaticFilesMiddleware(
    __DIR__ . '/../vendor/fund-module/public',
    ['publicCachePath' => __DIR__ . '/../public/fun-module/assets']
));
```

This is a fork of Serve Static

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 57.9% 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 ~94 days

Recently: every ~164 days

Total

20

Last Release

1373d ago

Major Versions

0.1.0 → 1.0.02019-06-04

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2005497?v=4)[Tito Duarte](/maintainers/fduarte42)[@fduarte42](https://github.com/fduarte42)

---

Top Contributors

[![fduarte42](https://avatars.githubusercontent.com/u/2005497?v=4)](https://github.com/fduarte42 "fduarte42 (33 commits)")[![rodmcnew](https://avatars.githubusercontent.com/u/1828506?v=4)](https://github.com/rodmcnew "rodmcnew (23 commits)")[![jerv13](https://avatars.githubusercontent.com/u/853222?v=4)](https://github.com/jerv13 "jerv13 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/fduarte42-zend-expressive-static-files/health.svg)

```
[![Health](https://phpackages.com/badges/fduarte42-zend-expressive-static-files/health.svg)](https://phpackages.com/packages/fduarte42-zend-expressive-static-files)
```

###  Alternatives

[mezzio/mezzio-authentication-oauth2

OAuth2 (server) authentication middleware for Mezzio and PSR-7 applications.

28483.0k2](/packages/mezzio-mezzio-authentication-oauth2)[mezzio/mezzio-authentication

Authentication middleware for Mezzio and PSR-7 applications

121.6M26](/packages/mezzio-mezzio-authentication)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[openswoole/core

Openswoole core library

181.1M32](/packages/openswoole-core)[jimtools/jwt-auth

PSR-15 JWT Authentication middleware, A replacement for tuupola/slim-jwt-auth

20142.3k3](/packages/jimtools-jwt-auth)

PHPackages © 2026

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