PHPackages                             kreait/slim-docker - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. kreait/slim-docker

AbandonedArchivedLibrary[Framework](/categories/framework)

kreait/slim-docker
==================

Starter for a dockerized Slim Framework application

1.0.3(8y ago)338759MITMakefile

Since Jul 18Pushed 8y ago2 watchersCompare

[ Source](https://github.com/kreait/slim-php-docker-starter)[ Packagist](https://packagist.org/packages/kreait/slim-docker)[ Docs](https://github.com/kreait/slim-php-docker-starter)[ RSS](/packages/kreait-slim-docker/feed)WikiDiscussions master Synced today

READMEChangelog (3)DependenciesVersions (5)Used By (0)

Slim Framework Skeleton for Docker
==================================

[](#slim-framework-skeleton-for-docker)

A dockerized [Slim Framework skeleton](https://github.com/slimphp/Slim-Skeleton) application as a starting point for new [Slim Framework](http://www.slimframework.com) projects.

Requirements
------------

[](#requirements)

- [Docker Engine](https://docs.docker.com/engine/installation/) and [Docker Compose](https://docs.docker.com/compose/)
- [Composer](https://getcomposer.org/) installed in your global path

Installation
------------

[](#installation)

Create a new project from this starter with

```
$ composer create-project kreait/slim-docker target-directory
```

The actual Slim Framework application will be located in `target-directory/web`.

Then, start up the dockerized application:

```
$ cd target-directory
$ docker-compose up
```

Images and Containers
---------------------

[](#images-and-containers)

The images for the application containers are built from the Dockerfiles in the `docker` directory so that you can modify them as needed for your application.

- The [backend image](docker/web/backend/Dockerfile) extends the official [`php-fpm`](https://hub.docker.com/_/php/) image.
- The [frontend image](docker/web/frontend/Dockerfile) extends the official [`nginx`](https://hub.docker.com/_/nginx/) image.

Helpers
-------

[](#helpers)

The starter includes a Makefile to simplify the basic tasks:

- `make build` builds new Docker images with the current project files being copied into the images.
- `make up-dev` will add the settings from [`dev.yml`](dev.yml) to the default configuration and start the application with the `web` directory being mounted into the containers.
- `make up-prod` will add the settings from [`prod.yml`](prod.yml) to the default configuration and start the application
- `make down` will stop the application

Execute `make` or `make help` from the project root to show all available tasks.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~120 days

Total

4

Last Release

3273d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8685cf532053a084f1eade7b7da00a512c02676e65f1f1bdec73d4978030a47d?d=identicon)[jeromegamez](/maintainers/jeromegamez)

---

Top Contributors

[![jeromegamez](https://avatars.githubusercontent.com/u/67554?v=4)](https://github.com/jeromegamez "jeromegamez (5 commits)")

---

Tags

dockerphpslim-frameworkframeworkslimdocker

### Embed Badge

![Health badge](/badges/kreait-slim-docker/health.svg)

```
[![Health](https://phpackages.com/badges/kreait-slim-docker/health.svg)](https://phpackages.com/packages/kreait-slim-docker)
```

###  Alternatives

[slim/twig-view

Slim Framework 4 view helper built on top of the Twig 3 templating component

3738.4M230](/packages/slim-twig-view)[gotzmann/comet

Modern PHP framework for building blazing fast REST APIs and microservices

68316.2k1](/packages/gotzmann-comet)[rubellum/slim-blade-view

Slim Framework 3 view helper built on the Blade component

1822.4k2](/packages/rubellum-slim-blade-view)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
