Skip to main content

Installation

System requirements

  • PHP 8.0 or upper
  • Web server

Install Composer

If Composer is not installed yet, follow the instructions on its download page.

Create a new project

Use the Composer's create-project command:

composer create-project borschphp/skeleton my-borsch-app

Run it

Run this command to start a local server :

# With built-in PHP server:
php -S 0.0.0.0:8080 -t ./public/ ./public/index.php
# Or via composer:
composer serve

# Or with docker-composer to run the app with docker:
docker-compose up -d

# Or you can also use lando to run the app (with docker):
lando start

Then go to 0.0.0.0:8080 to see the welcome page of your project.