Skip to main content

Get started

img Slim

img CI img codevoc.io img License img PHPStan img PHP

Why?

I was in need of a no-nonsense, intuitive and easy-to-use skeleton to set up new projects.

What you'll need

You'll need to have Docker and Docker Compose installed to be able to develop and run this skeleton on your local development machine. See Docker setup for more details.

Installation

caution

Be sure to choose the correct installation profile from the start as it can be tedious to change it afterwards.

The default installation profile has no examples. You should be using this profile if you know what's up and want to start with a clean slate.

composer create-project robiningelbrecht/php-slim-skeleton [app-name] --no-install --ignore-platform-reqs --stability=dev
# Build docker containers
docker-compose up -d --build
# Install dependencies
docker-compose run --rm php-cli composer install

Now you should be set to start developing and coding!