Skip to content

rosemspace/webservice

Repository files navigation

Rosem webservice

Middleware based modern PHP web framework.

Become a Patron!

Key features:

  • TODO: Non-blocking IO
  • HTTP2 / HTTP3 support
  • All PSRs respected
  • Decoupled standalone packages
    • Modular via service providers
    • Extensible via contracts

Getting started

Build the Docker container and start the webserver:

docker-compose build --build-arg uid=$(id -u $USER) --build-arg gid=$(id -g $USER)
docker-compose up server
# or on a different IP and/or port
docker-compose run --rm -p 127.0.0.127:80:80 server

Install project dependencies:

docker-compose exec server composer install --ignore-platform-reqs --no-interaction --no-scripts

To run commands inside the container:

# Rosem CLI commands
docker-compose exec server bin/rosem
# OS commands
docker-compose exec server bash

To start PHP's internal webserver on port 8000:

docker-compose exec server php -S 0.0.0.0:8000 -t public server.php

Releases

No releases published

Packages

No packages published

Languages