xbenjii/bref-dev-server

Local development server for serverless web apps

Fund package maintenance!
mnapoli

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 12

pkg:composer/xbenjii/bref-dev-server

v1.0.0 2025-09-24 13:51 UTC

This package is not auto-updated.

Last update: 2025-10-09 12:13:18 UTC


README

Development web server for serverless-native PHP web apps.

Why?

This web server is meant for HTTP applications implemented without framework, using API Gateway as the router and PSR-15 controllers.

Installation

composer require --dev bref/dev-server

Usage

Run the webserver with:

vendor/bin/bref-dev-server

The application will be available at http://localhost:8000/.

Routes will be parsed from serverless.yml in the current directory.

Assets

By default, static assets are served from the current directory.

To customize that, use the --assets option. For example to serve static files from the public/ directory:

vendor/bin/bref-dev-server --assets=public