A PSR-15 middleware that serves static assets for you. Is similar to the "serve-static" npm package.
For future support, including expressive 3 support, try this other project: https://packagist.org/packages/fduarte42/zend-expressive-static-files
A PSR-15 middleware that serves static assets for you
$app->pipe('/fun-module/assets', new \Reliv\ServeStatic\ServeStaticMiddleware( __DIR__ . '/../vendor/fund-module/public', ['publicCachePath' => __DIR__ . '/../public/fun-module/assets'] ));